projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4cc8d
)
MLK-9618-3 usb: chipidea: otg: enable hnp_pollinig flag
author
Li Jun
<B47624@freescale.com>
Mon, 29 Sep 2014 02:32:00 +0000
(10:32 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:13 +0000
(14:47 -0500)
This patch enables hnp_polling flag for chipidea host driver in otg fsm mode.
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit
acb43a932263edd9b80c6d6d9ee858176c201542
)
(cherry picked from commit
9e75e851370b62319fec4200b68cfd3465e12cfe
)
drivers/usb/chipidea/otg_fsm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/otg_fsm.c
b/drivers/usb/chipidea/otg_fsm.c
index
259d8b4
..
0c0eb27
100644
(file)
--- a/
drivers/usb/chipidea/otg_fsm.c
+++ b/
drivers/usb/chipidea/otg_fsm.c
@@
-886,6
+886,7
@@
int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci)
ci->otg.gadget = &ci->gadget;
ci->fsm.otg = &ci->otg;
ci->fsm.power_up = 1;
+ ci->fsm.hnp_polling = 1;
ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0;
ci->fsm.otg->state = OTG_STATE_UNDEFINED;
ci->fsm.ops = &ci_otg_ops;