usb:host: workaround too early SOF after end of host initiated resume
authorjzhuan5 <jin.can.zhuang@intel.com>
Sat, 17 Dec 2011 06:24:34 +0000 (01:24 -0500)
committerbuildbot <buildbot@intel.com>
Tue, 27 Dec 2011 08:46:39 +0000 (00:46 -0800)
commit0d74c4b249a520d384bc881a6997ded5de92fafb
treeb0477136e95f23c6c5e3eb4f5988f3d8a1db7b44
parent37f4cb757661b586ffcd18dc07bcda0262573099
usb:host: workaround too early SOF after end of host initiated resume

BZ: 15583

In host mode, controller may send SOF within 1.2us after end of resume,
causing a diconnection. The patch sync with SRI bit to control when to start
resume signaling, so that SOF is guaranteed to be sent at 10us after the
end of a host initiated resume.

Change-Id: Ia1594348495c973520d530393be8c41d5c010e28
Signed-off-by: jzhuan5 <jin.can.zhuang@intel.com>
Reviewed-on: http://android.intel.com:8080/28089
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/usb/host/ehci-hub.c