projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31927b6
)
usb: dwc2: host: avoid resetting lx_state to L3 during disconnect
author
Gregory Herrero
<
[email protected]
>
Tue, 22 Sep 2015 13:16:42 +0000
(15:16 +0200)
committer
Felipe Balbi
<
[email protected]
>
Thu, 1 Oct 2015 17:40:16 +0000
(12:40 -0500)
When a device is disconnected, lx_state must not be changed since the
device may be disconnected whereas controller is still powered.
Signed-off-by: Gregory Herrero <
[email protected]
>
Signed-off-by: Mian Yousaf Kaukab <
[email protected]
>
Tested-by: Robert Baldyga <
[email protected]
>
Tested-by: Dinh Nguyen <
[email protected]
>
Tested-by: John Youn <
[email protected]
>
Acked-by: John Youn <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/dwc2/core_intr.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc2/core_intr.c
b/drivers/usb/dwc2/core_intr.c
index a6b16139850d10b515fd05c295989363f4467272..3275310a8fb395f9862712134db9e849dc23ed10 100644
(file)
--- a/
drivers/usb/dwc2/core_intr.c
+++ b/
drivers/usb/dwc2/core_intr.c
@@
-387,9
+387,6
@@
static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg)
if (hsotg->op_state == OTG_STATE_A_HOST)
dwc2_hcd_disconnect(hsotg);
- /* Change to L3 (OFF) state */
- hsotg->lx_state = DWC2_L3;
-
dwc2_writel(GINTSTS_DISCONNINT, hsotg->regs + GINTSTS);
}