mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
13 lines
392 B
Diff
13 lines
392 B
Diff
--- a/drivers/net/phy/mdio_bus.c
|
|
+++ b/drivers/net/phy/mdio_bus.c
|
|
@@ -43,8 +43,7 @@
|
|
static int mdiobus_register_gpiod(struct mdio_device *mdiodev)
|
|
{
|
|
/* Deassert the optional reset signal */
|
|
- mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev,
|
|
- "reset", GPIOD_OUT_LOW);
|
|
+ mdiodev->reset_gpio = NULL;
|
|
if (IS_ERR(mdiodev->reset_gpio))
|
|
return PTR_ERR(mdiodev->reset_gpio);
|
|
|