mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
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>
This commit is contained in:
parent
355009ebe7
commit
457e7a160a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user