usb: chipidea: otg: add A idle to B disconnect timer
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:49 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:38 +0000 (15:14 +0200)
commit4a75754751a02cd12cd598e02ded226c3ea2fc23
tree959bbcad625befb91233326b172156f05451c741
parent9c527f49a7312450923222941ff50e5940004e97
usb: chipidea: otg: 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 DP, this allows the bus to discharge
to the SE0 state. This timer was missed and failed with PET test:
6.8.5 B-UUT HNP of USB OTG and EH automated compliance plan v1.2,
this patch is to fix this timing issue.

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>
drivers/usb/chipidea/otg_fsm.c
drivers/usb/chipidea/otg_fsm.h
This page took 0.02871 seconds and 5 git commands to generate.