summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.6/186-USB-EHCI-bcma-fix-driver.patch
blob: b3800340c892017882d19cb71060ff975a289aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/usb/host/bcma-hcd.c
+++ b/drivers/usb/host/bcma-hcd.c
@@ -45,7 +45,7 @@ static int bcma_wait_bits(struct bcma_de
 
 	for (i = 0; i < timeout; i++) {
 		val = bcma_read32(dev, reg);
-		if ((val & bitmask) == bitmask)
+		if ((val & bitmask) == 0)
 			return 0;
 		udelay(10);
 	}