From: Jonas Gorski Date: Sat, 13 Jan 2018 17:41:14 +0000 (+0100) Subject: brcm63xx: fix ephy reset gpio lookup X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 2259b024abbf..e277bea139e6 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 + + 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);