mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
phy: rockchip: usbdp: wait aux channel ready when dp phy power on
If dp send data by aux channel too fast after phy power on, the aux may be not ready which will cause aux error. Adding delay to avoid this issue. Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com> Change-Id: I92075e729e637078456ae67897dfb1cbda5da1cb
This commit is contained in:
@@ -897,6 +897,12 @@ static int rockchip_dp_phy_power_on(struct phy *phy)
|
||||
|
||||
unlock:
|
||||
mutex_unlock(&udphy->mutex);
|
||||
/*
|
||||
* If data send by aux channel too fast after phy power on,
|
||||
* the aux may be not ready which will cause aux error. Adding
|
||||
* delay to avoid this issue.
|
||||
*/
|
||||
usleep_range(10000, 11000);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user