mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 19:39:55 +03:00
12 lines
292 B
Diff
12 lines
292 B
Diff
|
--- 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);
|
||
|
}
|