Thread (2 messages) 2 messages, 2 authors, 2016-08-09

[PATCH v2] net: phy: micrel: Add specific suspend

From: davem@davemloft.net (David Miller)
Date: 2016-08-09 23:20:05
Also in: lkml, netdev

From: Wenyou Yang <redacted>
Date: Fri, 5 Aug 2016 14:35:41 +0800
Disable all interrupts when suspend, they will be enabled
when resume. Otherwise, the suspend/resume process will be
blocked occasionally.

Signed-off-by: Wenyou Yang <redacted>
Acked-by: Nicolas Ferre <redacted>
---

Changes in v2:
 - Use fairly generic phydrv->config_intr() with
   PHY_INTERRUPT_DISABLED, then call genphy_suspend().
 - Modify kszphy_resume() with PHY_INTERRUPT_ENABLED accordingly.
 - Add static attribute for kszphy_suspend().
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help