summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-09-27 19:49:56 +0800
committerLi Jun <jun.li@freescale.com>2015-06-01 17:02:18 +0800
commit7eaf8cf8ff375917e9972cca69bcecd6d807e6db (patch)
treecce7282ee065e7f80d7c6c07d354727a9dc93895 /include
parentc5128f9bafaa37a8e63989032372a5ff36dc82c4 (diff)
MLK-9637-2 usb: otg: test: add otg_srp_reqd flag in otg_fsm
This patch adds flag otg_srp_reqd in struct otg_fsm to indicate A device as host wants B-UUT to do SRP once it ends the session. Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Li Jun <b47624@freescale.com> (cherry picked from commit 8e5f1b6b12ec77ec591909b09727049ffff37b9c)
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 7a9967faa519..73b09c9db68e 100644
--- a/include/linux/usb/otg-fsm.h
+++ b/include/linux/usb/otg-fsm.h
@@ -111,6 +111,7 @@ struct otg_fsm {
/* OTG test device */
int tst_maint;
int otg_vbus_off;
+ int otg_srp_reqd;
/* Informative variables */
int a_bus_drop_inf;