diff options
author | Li Jun <B47624@freescale.com> | 2014-09-27 19:49:56 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 10:59:13 -0600 |
commit | e9943365061c0b78d0004afdfcfd76e52bb68334 (patch) | |
tree | 511c1844ebfe59e555341e71b6da738ad46ddf00 /include/linux | |
parent | 7e9ea97eceb71fd994615da8431adee2041dd98f (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/linux')
-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 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; |