From: Petr Štetiar Date: Mon, 11 Mar 2019 21:08:22 +0000 (+0100) Subject: mips: bcm47xx: Enable USB power on Netgear WNDR3400v2 X-Git-Tag: v5.1-rc2~30^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cdb8faa00e3fcdd0ad10add743516d616dc7d38e;p=thirdparty%2Flinux.git mips: bcm47xx: Enable USB power on Netgear WNDR3400v2 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 Cc: Hauke Mehrtens Reported-by: Eric Bohlman Tested-by: Eric Bohlman Signed-off-by: Petr Štetiar Signed-off-by: Paul Burton --- diff --git a/arch/mips/bcm47xx/workarounds.c b/arch/mips/bcm47xx/workarounds.c index 46eddbec8d9fd..0ab95dd431b3c 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;