Commit cdb8faa0 authored by Petr Štetiar's avatar Petr Štetiar Committed by Paul Burton

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 <zajec5@gmail.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: default avatarEric Bohlman <ericbohlman@gmail.com>
Tested-by: default avatarEric Bohlman <ericbohlman@gmail.com>
Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
parent 47c25036
...@@ -24,6 +24,7 @@ void __init bcm47xx_workarounds(void) ...@@ -24,6 +24,7 @@ void __init bcm47xx_workarounds(void)
case BCM47XX_BOARD_NETGEAR_WNR3500L: case BCM47XX_BOARD_NETGEAR_WNR3500L:
bcm47xx_workarounds_enable_usb_power(12); bcm47xx_workarounds_enable_usb_power(12);
break; break;
case BCM47XX_BOARD_NETGEAR_WNDR3400V2:
case BCM47XX_BOARD_NETGEAR_WNDR3400_V3: case BCM47XX_BOARD_NETGEAR_WNDR3400_V3:
bcm47xx_workarounds_enable_usb_power(21); bcm47xx_workarounds_enable_usb_power(21);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment