]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: otg-fsm: add B_AIDL_BDIS timer
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:48 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:37 +0000 (15:14 +0200)
commit9c527f49a7312450923222941ff50e5940004e97
treee163dd6370488df42027932e6d6ceafb5df7b1c3
parentdfbae3309568f296e5dccfe1ec10db0f6804b756
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 <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
include/linux/usb/otg-fsm.h