summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-09-27 21:07:48 +0800
committerLi Jun <jun.li@freescale.com>2015-06-01 17:02:24 +0800
commit8e3f26a58f995711a81b401af26fbe5ed12e17f4 (patch)
tree92e8913919b46d26826d1a6c5a47974470c26d02 /include
parentdd95b40fa19e522353b548554f55e8c77ac9bdfe (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)
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/otg-fsm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h
index 2f02d14b4276..3621c77ad03f 100644
--- a/include/linux/usb/otg-fsm.h
+++ b/include/linux/usb/otg-fsm.h
@@ -113,6 +113,7 @@ struct otg_fsm {
int tst_maint;
int otg_vbus_off;
int otg_srp_reqd;
+ int otg_hnp_reqd;
/* Informative variables */
int a_bus_drop_inf;