brcm47xx: some fixes for the USB driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2012-05-18 15:44:25 +00:00
parent 0a65c8f341
commit fd3e6d0687
2 changed files with 22 additions and 0 deletions

View File

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

View File

@ -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,
};