diff options
author | Andiry Xu <andiry.xu@amd.com> | 2011-04-19 17:17:39 +0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-05-03 11:14:32 -0700 |
commit | 4f0871a6c7811a433513c3788a7cce27033bb8b8 (patch) | |
tree | f532cfb989d412eba133163b74337f4afabd3b02 /mm | |
parent | cee6a262550f53a13acfefbc1e3e5ff35c96182c (diff) | |
download | linux-stable-4f0871a6c7811a433513c3788a7cce27033bb8b8.tar.gz linux-stable-4f0871a6c7811a433513c3788a7cce27033bb8b8.tar.bz2 linux-stable-4f0871a6c7811a433513c3788a7cce27033bb8b8.zip |
xHCI: Clear PLC in xhci_bus_resume()
This patch clears PORT_PLC if xhci_bus_resume() resumes a previous suspended
port, because if a port transition from U3 to U0 state, it will report a
port link state change, and software should clear the corresponding PLC bit.
It also uses hcd->speed to check if a port is a USB2 protocol port.
The patch fixes the issue that USB keyboard can not wakeup system from
hibernation.
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions