-
- Downloads
usb: phy-msm-usb: fix usb online prop setting failure
When a usb removal is detected, the vbus power is set to
0mA and the online property is set to 0. If the requested
power is same as a cur_power, the request is simply ignored.
However, since the cur_power is initially 0, the request
for 0mA could be ignored at booting. If the request for 0mA
is ignored, the online property setting is also ignored.
Fix this by setting cur_power to -EINVAL initially.
Change-Id: I9dd1623be6fe463de200337e81bef5c496a40413
Signed-off-by:
choongryeol.lee <choongryeol.lee@lge.com>
Loading
Please register or sign in to comment