linux-stable/drivers/net/ethernet/smsc
Ulf Hansson 8812872960 net: smsc911x: Synchronize the runtime PM status during system suspend
The smsc911c driver puts its device into low power state when entering
system suspend. Although it doesn't update the device's runtime PM status
to RPM_SUSPENDED, which causes problems for a parent device.

In particular, when the runtime PM status of the parent is requested to be
updated to RPM_SUSPENDED, the runtime PM core prevent this, because it's
forbidden to runtime suspend a device, which has an active child.

Fix this by updating the runtime PM status of the smsc911x device to
RPM_SUSPENDED during system suspend. In system resume, let's reverse that
action by runtime resuming the device and thus also the parent.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-11-09 15:49:27 +01:00
..
epic100.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
Kconfig net: smsc: Add support h8300 2016-01-15 15:14:23 -05:00
Makefile
smc91c92_cs.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
smc91x.c net: smc91x: take into account register shift 2016-09-25 23:45:32 -04:00
smc91x.h net: smsc: remove build warning of duplicate definition 2016-09-06 13:44:33 -07:00
smc911x.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
smc911x.h net: smc911x: convert pxa dma to dmaengine 2016-03-18 22:23:59 -04:00
smc9194.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
smc9194.h
smsc911x.c net: smsc911x: Synchronize the runtime PM status during system suspend 2016-11-09 15:49:27 +01:00
smsc911x.h
smsc9420.c net: ethernet: smsc9420: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:35 -07:00
smsc9420.h