summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <jun.li@freescale.com>2015-06-04 16:58:40 +0800
committerLi Jun <jun.li@freescale.com>2015-06-05 16:05:57 +0800
commitb2f03bfb6beeae367c458ad7ea9f1ab83dcc41ee (patch)
tree56ced0413651485839409b3b76f26f78090bc348 /include
parent7ede7ff90d6f1ca128a7287871b9bcf5a9c8a4b7 (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,