From 9c527f49a7312450923222941ff50e5940004e97 Mon Sep 17 00:00:00 2001 From: Li Jun Date: Fri, 19 Feb 2016 10:04:48 +0800 Subject: [PATCH] usb: otg-fsm: add B_AIDL_BDIS timer Add A-idle to B-disconnect timer, B-device detects that bus is idle for more than TB_AIDL_BDIS min and begins HNP by turning off pullup on D+. This allows the bus to discharge to the SE0 state. Acked-by: Peter Chen Signed-off-by: Li Jun Signed-off-by: Felipe Balbi --- include/linux/usb/otg-fsm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h index 3059a9599f53..24198e16f849 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h @@ -60,6 +60,7 @@ enum otg_fsm_timer { A_AIDL_BDIS, B_ASE0_BRST, A_BIDL_ADIS, + B_AIDL_BDIS, /* Auxiliary timers */ B_SE0_SRP, -- 2.34.1