diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2012-05-18 15:44:25 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2012-05-18 15:44:25 +0000 |
commit | fd3e6d0687b63496e07830b00657c6963678966d (patch) | |
tree | 7991b8600cc26f5b8b354c0832cf65a489ca1d48 /target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch | |
parent | 0a65c8f3410426f1e09999acc0f54a754fee4e83 (diff) | |
download | master-187ad058-fd3e6d0687b63496e07830b00657c6963678966d.tar.gz master-187ad058-fd3e6d0687b63496e07830b00657c6963678966d.tar.bz2 master-187ad058-fd3e6d0687b63496e07830b00657c6963678966d.zip |
brcm47xx: some fixes for the USB driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch b/target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch new file mode 100644 index 0000000000..b3800340c8 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch @@ -0,0 +1,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); + } |