xHCI: test and clear RWC bit
commit445762a5b85e7460aa2f49a24698f8a4b758ec56
authorAndiry Xu <andiry.xu@amd.com>
Fri, 23 Sep 2011 21:19:49 +0000 (23 14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:57 +0000 (11 09:43 -0800)
tree765e508cff28ee67b728fe49ee554f1d38c52024
parent6fcb7a033dcadbc4691a1f54325a6001a31849ef
xHCI: test and clear RWC bit

commit d2f52c9e585bbb1a3c164e02b8dcd0d996c67353 upstream.

Introduce xhci_test_and_clear_bit() to clear RWC bit in PORTSC register.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h