Browse Source

brcm47xx: some fixes for the USB driver

SVN-Revision: 31787
Hauke Mehrtens 14 years ago
parent
commit
7be88d2ad8

+ 11 - 0
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);
+ 	}

+ 11 - 0
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,
+ };
+