projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7683080
)
usb: phy-rockchip-inno-usb2: fix wrong charging state when otg host connect
author
Binyuan Lan
<lby@rock-chips.com>
Thu, 29 Sep 2016 12:01:55 +0000
(20:01 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Sun, 9 Oct 2016 10:27:16 +0000
(18:27 +0800)
No need notify charging-external-connector state when otg host connect.
Change-Id: I1d5c6e4fb2ad504f169ef0fd5b82b06f31783922
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb2.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-rockchip-inno-usb2.c
b/drivers/phy/phy-rockchip-inno-usb2.c
index 6b819162ac2230ab86b82c14f645d256e0d18450..644c61d15db29ed160e1813577582714fcccef86 100644
(file)
--- a/
drivers/phy/phy-rockchip-inno-usb2.c
+++ b/
drivers/phy/phy-rockchip-inno-usb2.c
@@
-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)