From addb48537a5ca9755e6a2e1f5602192ed551fc91 Mon Sep 17 00:00:00 2001 From: hauke Date: Fri, 18 May 2012 15:44:25 +0000 Subject: brcm47xx: some fixes for the USB driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch | 11 +++++++++++ .../patches-3.3/187-USB-EHCI-platform-remove-update.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.3/186-USB-EHCI-bcma-fix-driver.patch create mode 100644 target/linux/brcm47xx/patches-3.3/187-USB-EHCI-platform-remove-update.patch 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 000000000..b3800340c --- /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); + } diff --git a/target/linux/brcm47xx/patches-3.3/187-USB-EHCI-platform-remove-update.patch b/target/linux/brcm47xx/patches-3.3/187-USB-EHCI-platform-remove-update.patch new file mode 100644 index 000000000..e9a5b7005 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.3/187-USB-EHCI-platform-remove-update.patch @@ -0,0 +1,11 @@ +--- a/drivers/usb/host/ehci-platform.c ++++ b/drivers/usb/host/ehci-platform.c +@@ -75,8 +75,6 @@ static const struct hc_driver ehci_platf + .relinquish_port = ehci_relinquish_port, + .port_handed_over = ehci_port_handed_over, + +- .update_device = ehci_update_device, +- + .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, + }; + -- cgit v1.2.3