diff options
author | Li Jun <B47624@freescale.com> | 2014-09-24 14:35:31 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-23 16:56:03 +0300 |
commit | 93740fd6609dd5266f3db5125d78e95525e6288f (patch) | |
tree | daaae3444c3c41cab33651098f11bb2986984f8c /drivers/usb/chipidea/otg_fsm.h | |
parent | 78aa6e5136584d1ae787f90b93d9717cdd7a3337 (diff) |
MLK-9606-4 usb: chipidea: otg: test: tst_maint timer implementation
This patch implements otg test device session maintain timer, if the timer
expires, A device as host should end the session, and clear tst_maint flag
when turn off vbus.
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit 9d3bd049aef442f11dce77226a0ca09893a6656b)
Diffstat (limited to 'drivers/usb/chipidea/otg_fsm.h')
-rw-r--r-- | drivers/usb/chipidea/otg_fsm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/otg_fsm.h b/drivers/usb/chipidea/otg_fsm.h index 96b79a501bdd..c93461513739 100644 --- a/drivers/usb/chipidea/otg_fsm.h +++ b/drivers/usb/chipidea/otg_fsm.h @@ -44,6 +44,9 @@ */ #define TA_DP_END (200) +#define TA_TST_MAINT (9900) /* OTG test device session maintain + * timer, 9.9s~10.1s + */ /* * B-device timing constants |