[PATCH] net: phy: dp83tc811: modify list of interrupts enabled at initialization

From: hnagalla
Date: Thu Sep 02 2021 - 15:09:52 EST


From: Hari Nagalla <hnagalla@xxxxxx>

Disable the over voltage interrupt at initialization to meet typical
application requirement.

Signed-off-by: Hari Nagalla <hnagalla@xxxxxx>
Signed-off-by: Geet Modi <geet.modi@xxxxxx>
Signed-off-by: Vikram Sharma <vikram.sharma@xxxxxx>
---
drivers/net/phy/dp83tc811.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/phy/dp83tc811.c b/drivers/net/phy/dp83tc811.c
index 7ea32fb77190..452a39d96bd8 100644
--- a/drivers/net/phy/dp83tc811.c
+++ b/drivers/net/phy/dp83tc811.c
@@ -226,7 +226,6 @@ static int dp83811_config_intr(struct phy_device *phydev)
DP83811_POLARITY_INT_EN |
DP83811_SLEEP_MODE_INT_EN |
DP83811_OVERTEMP_INT_EN |
- DP83811_OVERVOLTAGE_INT_EN |
DP83811_UNDERVOLTAGE_INT_EN);

err = phy_write(phydev, MII_DP83811_INT_STAT2, misr_status);
--
2.17.1