2012-11-18 21:27:00 +00:00
|
|
|
--- a/drivers/usb/host/bcma-hcd.c
|
|
|
|
+++ b/drivers/usb/host/bcma-hcd.c
|
2012-11-18 21:40:30 +00:00
|
|
|
@@ -46,7 +46,7 @@ static int bcma_wait_bits(struct bcma_de
|
2012-11-18 21:27:00 +00:00
|
|
|
|
|
|
|
for (i = 0; i < timeout; i++) {
|
|
|
|
val = bcma_read32(dev, reg);
|
|
|
|
- if ((val & bitmask) == bitmask)
|
|
|
|
+ if ((val & bitmask) == 0)
|
|
|
|
return 0;
|
|
|
|
udelay(10);
|
|
|
|
}
|