projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f145376
)
MLK-9617-16 usb: common: otg: clear a_conn flag when leaves b host
author
Li Jun
<B47624@freescale.com>
Thu, 16 Oct 2014 14:17:53 +0000
(22:17 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:13 +0000
(14:47 -0500)
This patch is clearing a_conn flag when b device leave b_host state.
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit
e511cc08879fa97035900ae8626051e473f30cd9
)
(cherry picked from commit
e293fb467244e7068bd67e6c37a485b99944bbcf
)
drivers/usb/common/usb-otg-fsm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/common/usb-otg-fsm.c
b/drivers/usb/common/usb-otg-fsm.c
index
0fb9bf9
..
e25bc07
100644
(file)
--- a/
drivers/usb/common/usb-otg-fsm.c
+++ b/
drivers/usb/common/usb-otg-fsm.c
@@
-89,6
+89,7
@@
static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state)
fsm->otg_hnp_reqd = 0;
fsm->b_bus_req = 0;
}
+ fsm->a_conn = 0;
break;
case OTG_STATE_A_IDLE:
fsm->adp_prb = 0;