diff options
author | Julius Werner <jwerner@chromium.org> | 2015-01-27 22:20:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-04 00:28:32 +0100 |
commit | 7fa40910e0bf5ef32eca49595d950cb24f6402bf (patch) | |
tree | 40e95d7bf00bf2ca4ed8f25ae9503f780fb6d25a /Documentation/stable_api_nonsense.txt | |
parent | Revert "usb: Reset USB-3 devices on USB-3 link bounce" (diff) | |
download | linux-7fa40910e0bf5ef32eca49595d950cb24f6402bf.tar.xz linux-7fa40910e0bf5ef32eca49595d950cb24f6402bf.zip |
usb: Retry port status check on resume to work around RH bugs
The EHCI controller on the RK3288 SoC is violating basic parts of the
USB spec and thereby unable to properly resume a suspended port. It does
not start SOF generation within 3ms of finishing resume signaling, so
the attached device will drop of the bus again. This is a particular
problem with runtime PM, where accessing the device will trigger a
resume that immediately makes it unavailable (and reenumerate with a new
handle).
Thankfully, the persist feature is generally able to work around stuff
like that. Unfortunately, it doesn't quite work in this particular case
because the controller will turn off the CurrentConnectStatus bit for an
instant while the device is reconnecting, which causes the kernel to
conclude that it permanently disappeared. This patch adds a tiny retry
mechanism to the core port resume code which will catch this case and
shouldn't have any notable impact on other controllers.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/stable_api_nonsense.txt')
0 files changed, 0 insertions, 0 deletions