diff mbox series

mips: bcm47xx: Enable USB power on Netgear WNDR3400v2

Message ID 1552338502-9511-1-git-send-email-ynezz@true.cz (mailing list archive)
State Mainlined
Commit cdb8faa00e3fcdd0ad10add743516d616dc7d38e
Headers show
Series mips: bcm47xx: Enable USB power on Netgear WNDR3400v2 | expand

Commit Message

Petr Štetiar March 11, 2019, 9:08 p.m. UTC
Eric has reported on OpenWrt's bug tracking system[1], that he's not
able to use USB devices on his WNDR3400v2 device after the boot, until
he turns on GPIO #21 manually through sysfs.

1. https://bugs.openwrt.org/index.php?do=details&task_id=2170

Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Eric Bohlman <ericbohlman@gmail.com>
Tested-by: Eric Bohlman <ericbohlman@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 arch/mips/bcm47xx/workarounds.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Paul Burton March 11, 2019, 10:36 p.m. UTC | #1
Hello,

Petr Štetiar wrote:
> Eric has reported on OpenWrt's bug tracking system[1], that he's not
> able to use USB devices on his WNDR3400v2 device after the boot, until
> he turns on GPIO #21 manually through sysfs.
> 
> 1. https://bugs.openwrt.org/index.php?do=details&task_id=2170
> 
> Cc: Rafał Miłecki <zajec5@gmail.com>
> Cc: Hauke Mehrtens <hauke@hauke-m.de>
> Reported-by: Eric Bohlman <ericbohlman@gmail.com>
> Tested-by: Eric Bohlman <ericbohlman@gmail.com>
> Signed-off-by: Petr Å tetiar <ynezz@true.cz>

Applied to mips-fixes.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]
diff mbox series

Patch

diff --git a/arch/mips/bcm47xx/workarounds.c b/arch/mips/bcm47xx/workarounds.c
index 46eddbe..0ab95dd 100644
--- a/arch/mips/bcm47xx/workarounds.c
+++ b/arch/mips/bcm47xx/workarounds.c
@@ -24,6 +24,7 @@  void __init bcm47xx_workarounds(void)
 	case BCM47XX_BOARD_NETGEAR_WNR3500L:
 		bcm47xx_workarounds_enable_usb_power(12);
 		break;
+	case BCM47XX_BOARD_NETGEAR_WNDR3400V2:
 	case BCM47XX_BOARD_NETGEAR_WNDR3400_V3:
 		bcm47xx_workarounds_enable_usb_power(21);
 		break;