Skip to contentSkip to conversation

phy: micrel: Reenable interrupts during on resume for ksz9031

PATCH In review Xander Huff 1 participant 2 messages Aug 22, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: micrel: Reenable interrupts during on resume for ksz9031

Like the ksz8081, the ksz9031 has the behavior where it will clear the interrupt enable bits when leaving power down. This takes advantage of the solution provided by f5aba91.

Natinst-ReviewBoard-ID: 149877

---
 drivers/net/phy/micrel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/micrel.c +1 -1
index 053e879..885ac9c 100644
@@ -964,7 +964,7 @@ static struct phy_driver ksphy_driver[] = {
 	.get_strings	= kszphy_get_strings,
 	.get_stats	= kszphy_get_stats,
 	.suspend	= genphy_suspend,
-	.resume		= genphy_resume,
+	.resume		= kszphy_resume,
 }, {
 	.phy_id		= PHY_ID_KSZ8873MLL,
 	.phy_id_mask	= MICREL_PHY_ID_MASK,
Signature · 1 line
1.9.1
#1 lore raw
Quoted 17 lines · Xander Huff

Like the ksz8081, the ksz9031 has the behavior where it will clear the interrupt enable bits when leaving power down. This takes advantage of the solution provided by f5aba91.

Natinst-ReviewBoard-ID: 149877

---
  drivers/net/phy/micrel.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/micrel.c +0 -0
index 053e879..885ac9c 100644

drivers/net/phy/micrel.c static struct phy_driver ksphy_driver[] = { · line 970

Quoted 8 lines
drivers/net/phy/micrel.c +1 -1
@@ -964,7 +964,7 @@ static struct phy_driver ksphy_driver[] = {
  	.get_strings	= kszphy_get_strings,
  	.get_stats	= kszphy_get_stats,
  	.suspend	= genphy_suspend,
-	.resume		= genphy_resume,
+	.resume		= kszphy_resume,
  }, {
  	.phy_id		= PHY_ID_KSZ8873MLL,
  	.phy_id_mask	= MICREL_PHY_ID_MASK,

Please disregard this patch as it was accidentally sent. Please instead refer to my subsequent email with the subject:
"[PATCH] phy: micrel: Reenable interrupts during resume for ksz9031"

Signature · 3 lines
Xander Huff
Staff Software Engineer
National Instruments