mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
usb: phy-rockchip-inno-usb2: fix wrong charging state when otg host connect
No need notify charging-external-connector state when otg host connect. Change-Id: I1d5c6e4fb2ad504f169ef0fd5b82b06f31783922 Signed-off-by: Binyuan Lan <lby@rock-chips.com>
This commit is contained in:
@@ -678,9 +678,9 @@ static void rockchip_usb2phy_otg_sm_work(struct work_struct *work)
|
||||
rport->state = OTG_STATE_B_IDLE;
|
||||
rockchip_usb2phy_power_off(rport->phy);
|
||||
}
|
||||
break;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
if (extcon_get_state(rphy->edev, cable) != rport->vbus_attached)
|
||||
|
||||
Reference in New Issue
Block a user