MLK-9606-4 usb: chipidea: otg: test: tst_maint timer implementation
authorLi Jun <B47624@freescale.com>
Wed, 24 Sep 2014 06:35:31 +0000 (14:35 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:11 +0000 (14:47 -0500)
commit97f6d5af364e7b41151c4d8297daa45d0d5cee6a
treef6696dda7693236a8d1b3290808eb52b1583318c
parentd5a138aff19616709b25830918742b07d18bd2fd
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)
drivers/usb/chipidea/otg_fsm.c
drivers/usb/chipidea/otg_fsm.h