diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-05-18 15:44:25 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-05-18 15:44:25 +0000 |
commit | 7be88d2ad8509c2ef6710d564ac726e02e121249 (patch) | |
tree | ebcb00ee40e4bd22b008508b2879bf5edd1d5dc6 /target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch | |
parent | 7dd6e5c7bb6919441c53f3d5f23237e2cac77813 (diff) | |
download | upstream-7be88d2ad8509c2ef6710d564ac726e02e121249.tar.gz upstream-7be88d2ad8509c2ef6710d564ac726e02e121249.tar.bz2 upstream-7be88d2ad8509c2ef6710d564ac726e02e121249.zip |
brcm47xx: some fixes for the USB driver
SVN-Revision: 31787
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); + } |