1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:24:58 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch
hauke addb48537a brcm47xx: some fixes for the USB driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:44:25 +00:00

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);
}