110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch 873 B

123456789101112131415161718192021222324
  1. From 111bbd770441ab34f9da5bb1d85767a9b75227b4 Mon Sep 17 00:00:00 2001
  2. From: Florian Fainelli <florian@openwrt.org>
  3. Date: Mon, 28 Jan 2013 20:06:30 +0100
  4. Subject: [PATCH 12/12] MIPS: BCM63XX: EHCI controller does not support
  5. overcurrent
  6. This patch sets the ignore_oc flag for the BCM63XX EHCI controller as it
  7. does not support proper overcurrent reporting.
  8. Signed-off-by: Florian Fainelli <florian@openwrt.org>
  9. ---
  10. arch/mips/bcm63xx/dev-usb-ehci.c | 1 +
  11. 1 file changed, 1 insertion(+)
  12. --- a/arch/mips/bcm63xx/dev-usb-ehci.c
  13. +++ b/arch/mips/bcm63xx/dev-usb-ehci.c
  14. @@ -61,6 +61,7 @@ static void bcm63xx_ehci_power_off(struc
  15. static struct usb_ehci_pdata bcm63xx_ehci_pdata = {
  16. .big_endian_desc = 1,
  17. .big_endian_mmio = 1,
  18. + .ignore_oc = 1,
  19. .power_on = bcm63xx_ehci_power_on,
  20. .power_off = bcm63xx_ehci_power_off,
  21. .power_suspend = bcm63xx_ehci_power_off,