[openwrt/openwrt] brcm63xx: fix ephy reset gpio lookup

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 11 14:17:07 PST 2018


jogo pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3

commit 457e7a160a31d6c8c4bfe0c3e309b30e0d3132f3
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Sat Jan 13 18:41:14 2018 +0100

    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 at gmail.com>
---
 .../377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2259b02..e277bea 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 at 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);



More information about the lede-commits mailing list