aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2018-01-13 18:41:14 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2018-02-11 23:14:56 +0100
commit457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3 (patch)
tree0cbdd5e0423b96f8e429cdb0d0b7488294e347a3
parent355009ebe76cb7f526737a88c7683c78e6a68118 (diff)
downloadupstream-457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3.tar.gz
upstream-457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3.tar.bz2
upstream-457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3.zip
brcm63xx: fix ephy reset gpio lookup
The lookup needs to be called just "reset" for the common code. Fixes: 054c0d4e3193 ("brcm63xx: backport mdio-bus reset gpio support") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
-rw-r--r--target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch b/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
index 2259b024ab..e277bea139 100644
--- a/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
+++ b/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
@@ -87,7 +87,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+
+ ephy_reset.table[0].chip_label = gpio_chip_labels[hw_gpio / 32];
+ ephy_reset.table[0].chip_hwnum = hw_gpio % 32;
-+ ephy_reset.table[0].con_id = "ephy-reset";
++ ephy_reset.table[0].con_id = "reset";
+ ephy_reset.table[0].flags = flags;
+
+ gpiod_add_lookup_table(&ephy_reset);