diff options
author | Li Jun <B47624@freescale.com> | 2014-09-27 21:07:48 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:21:41 +0800 |
commit | e9cb575a35f4ddd8736a9cf55005153761b70347 (patch) | |
tree | 11dc1427fde5895be25f1374bbbd21aaf7617843 | |
parent | bc5041a86ee6e594e0a378d902761d47115af3af (diff) |
MLK-9638-2 usb: otg: test: add otg_hnp_reqd flag in struct otg_fsm
This patch adds flag otg_hnp_reqd in struct otg_fsm to indicate A device
as host wants to start HNP sequence.
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit 92382e06c6902731b05dcbb0db4f0ebfa486969f)
(cherry picked from commit 8e3f26a58f995711a81b401af26fbe5ed12e17f4)
-rw-r--r-- | include/linux/usb/otg-fsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h index 192014a61200..72da4635373a 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h @@ -178,6 +178,7 @@ struct otg_fsm { int tst_maint; int otg_vbus_off; int otg_srp_reqd; + int otg_hnp_reqd; /* Informative variables. All unused as of now */ int a_bus_drop_inf; |