summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-25 08:02:04 -0400
committerTom Rini <trini@konsulko.com>2022-03-25 08:02:31 -0400
commit3b2d19c838a48350e06d4c12e4d749eec0217f2c (patch)
tree2365bd9cda80b0bcbd56d181683186534287553c /drivers/net/phy/phy.c
parenta958c58571ef2af420f482f47a34924d75510065 (diff)
parentb40d2b2891382398c1be1df6ee1b6390f247a030 (diff)
Merge branch '2022-03-25-Kconfig-migrations' into next
- Merge a number of Kconfig migration patches
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index fffa10f68b3..92fff5b72c0 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -872,7 +872,7 @@ int phy_reset(struct phy_device *phydev)
return -1;
}
-#ifdef CONFIG_PHY_RESET_DELAY
+#if CONFIG_PHY_RESET_DELAY > 0
udelay(CONFIG_PHY_RESET_DELAY); /* Intel LXT971A needs this */
#endif
/*