]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xHCI: fix port U3 status check condition
authorAndiry Xu <andiry.xu@amd.com>
Wed, 3 Aug 2011 08:46:48 +0000 (16:46 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 9 Aug 2011 21:43:22 +0000 (14:43 -0700)
commit5ac04bf190e6f8b17238aef179ebd7f2bdfec919
treeea29c2dfaf2c04e008288fe76ec0ea5ece96e4bd
parente468561739fffb972d486b98f66c723936335136
xHCI: fix port U3 status check condition

Fix the port U3 status check when Clear PORT_SUSPEND Feature.
The port status should be masked with PORT_PLS_MASK to check if it's in
U3 state.

This should be backported to kernels as old as 2.6.37.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@kernel.org
drivers/usb/host/xhci-hub.c