xHCI: test and clear RWC bit
authorAndiry Xu <andiry.xu@amd.com>
Fri, 23 Sep 2011 21:19:49 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:51:09 +0000 (15:51 -0700)
commitd2f52c9e585bbb1a3c164e02b8dcd0d996c67353
treedbf01ea79e8d869e3ab3493cea8e2b1801d193bc
parentc9682dffceb4bb3bdf6df4c0c87c4b887b03f5b7
xHCI: test and clear RWC bit

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