mirror of
https://github.com/openwrt/openwrt.git
synced 2026-01-14 17:40:16 +04:00
brcm63xx: fix ephy reset gpio lookup
The lookup needs to be called just "reset" for the common code.
Fixes: 054c0d4e31 ("brcm63xx: backport mdio-bus reset gpio support")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user