[PATCH] phy: micrel: Reenable interrupts during resume for ksz9031

Subsystems: ethernet phy library, networking drivers, the rest

STALE3649d

3 messages, 3 authors, 2016-08-23 · open the first message on its own page

[PATCH] phy: micrel: Reenable interrupts during resume for ksz9031

From: Xander Huff <hidden>
Date: 2016-08-22 20:57:33

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.

Signed-off-by: Xander Huff <redacted>
Signed-off-by: Nathan Sullivan <redacted>
---
 drivers/net/phy/micrel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 053e879..885ac9c 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -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,
-- 
1.9.1

Re: [PATCH] phy: micrel: Reenable interrupts during resume for ksz9031

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2016-08-22 23:35:14

On 08/22/2016 01:57 PM, Xander Huff wrote:
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.

Signed-off-by: Xander Huff <redacted>
Signed-off-by: Nathan Sullivan <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

Re: [PATCH] phy: micrel: Reenable interrupts during resume for ksz9031

From: David Miller <davem@davemloft.net>
Date: 2016-08-23 23:58:01

From: Xander Huff <redacted>
Date: Mon, 22 Aug 2016 15:57:16 -0500
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.

Signed-off-by: Xander Huff <redacted>
Signed-off-by: Nathan Sullivan <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help