summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-09-27 19:49:56 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 10:59:13 -0600
commite9943365061c0b78d0004afdfcfd76e52bb68334 (patch)
tree511c1844ebfe59e555341e71b6da738ad46ddf00 /include
parent7e9ea97eceb71fd994615da8431adee2041dd98f (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) (cherry picked from commit 7eaf8cf8ff375917e9972cca69bcecd6d807e6db)
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 00f542609c06..8e15112ef422 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;