diff options
author | Alan Stern | 2012-04-17 15:24:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-04-17 15:54:58 -0700 |
commit | dc75ce9d929aabeb0843a6b1a4ab320e58ba1597 (patch) | |
tree | 8073cd59739c6c34bc76d1675873d5d4b94d7df7 /security | |
parent | 749541d19e70905e3971f2a08335a206a98e4d0c (diff) |
EHCI: fix criterion for resuming the root hub
This patch (as1542) changes the criterion ehci-hcd uses to tell when
it needs to resume the controller's root hub. A resume is needed when
a port status change is detected, obviously, but only if the root hub
is currently suspended.
Right now the driver tests whether the root hub is running, and that
is not the correct test. In particular, if the controller has died
then the root hub should not be restarted. In addition, some buggy
hardware occasionally requires the root hub to be running and
sending out SOF packets even while it is nominally supposed to be
suspended.
In the end, the test needs to be changed. Rather than checking whether
the root hub is currently running, the driver will now check whether
the root hub is currently suspended. This will yield the correct
behavior in all cases.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Peter Chen <B29397@freescale.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions