summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <jun.li@freescale.com>2015-06-04 16:58:40 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:23:29 -0500
commit1204e9da50f3a24fc7f80e26b21f6076804f4f02 (patch)
tree3099746899c3a4d13db064556a8c647651e3d58c /include
parent53c8ac6e334cc030f8b1c69678cbd28707d78d9e (diff)
MLK-11005-2 usb: common: usb-otg-fsm: remove ADP timers when ADP is not active
When otg fsm leaves a_idle or b_idle, ADP probe and sense should be stopped, therefore ADP timers should be removed. Signed-off-by: Li Jun <jun.li@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/otg-fsm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h
index f05df849d790..ef3b770ce777 100644
--- a/include/linux/usb/otg-fsm.h
+++ b/include/linux/usb/otg-fsm.h
@@ -68,6 +68,9 @@ enum otg_fsm_timer {
A_TST_MAINT,
B_SRP_REQD,
B_TST_SUSP,
+ A_ADP_PRB,
+ B_ADP_PRB,
+ B_ADP_SNS,
HNP_POLLING,
NUM_OTG_FSM_TIMERS,