openwrtv3/target/linux/brcm47xx/patches-3.6/186-USB-EHCI-bcma-fix-driver.patch

12 lines
292 B
Diff
Raw Normal View History

--- a/drivers/usb/host/bcma-hcd.c
+++ b/drivers/usb/host/bcma-hcd.c
@@ -46,7 +46,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);
}