netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net: phy: prevent double suspend
@ 2015-01-27  6:05 Florian Fainelli
  2015-01-27  6:05 ` [PATCH net-next v2 1/4] net: phy: utilize phy_suspend and phy_resume Florian Fainelli
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Florian Fainelli @ 2015-01-27  6:05 UTC (permalink / raw)
  To: netdev; +Cc: davem, s.hauer, b38611, Florian Fainelli

Hi David, Fugang,

This patch series addresses a problem that Fugang and I observed on different
platforms where a given PHY device might end-up being suspended twice.

Once as part of the call from ndo_open() all the way down to phy_detach() and
phy_suspend() and a second time when the generic platform device/driver
suspend/resume callbacks are called in drivers/net/phy/mdio_bus.c.

Thanks to Fugang for giving this a quick try on i.MX6/FEC and reporting
positive test results!

Florian Fainelli (4):
  net: phy: utilize phy_suspend and phy_resume
  net: phy: document has_fixups field
  net: phy: keep track of the PHY suspend state
  net: phy: avoid suspending twice a PHY

 drivers/net/phy/mdio_bus.c   | 14 ++++++++------
 drivers/net/phy/phy_device.c | 22 ++++++++++++++++++----
 include/linux/phy.h          |  3 +++
 3 files changed, 29 insertions(+), 10 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-27 19:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27  6:05 [PATCH net-next v2 0/4] net: phy: prevent double suspend Florian Fainelli
2015-01-27  6:05 ` [PATCH net-next v2 1/4] net: phy: utilize phy_suspend and phy_resume Florian Fainelli
2015-01-27  6:05 ` [PATCH net-next v2 2/4] net: phy: document has_fixups field Florian Fainelli
2015-01-27  6:05 ` [PATCH net-next v2 3/4] net: phy: keep track of the PHY suspend state Florian Fainelli
2015-01-27  6:05 ` [PATCH net-next v2 4/4] net: phy: avoid suspending twice a PHY Florian Fainelli
2015-01-27  8:17 ` [PATCH net-next v2 0/4] net: phy: prevent double suspend David Miller
2015-01-27 19:04 ` Sergei Shtylyov
2015-01-27 19:16   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).