Skip to content

Define positive return value to RPM_SUSPEND for runtime-suspended devices

Chen Yu linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM / sleep: Return RPM_SUSPENDED to keep devices in runtime-suspendedDocumentation/power/devices.txt Documentation/power/runtime_pm.txt drivers/base/power/main.c+11 -72 replies
2/2mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarilydrivers/mfd/intel-lpss.c+9 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMika WesterbergAndy Shevchenko
1/2
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Define positive return value to RPM_SUSPEND for runtime-suspended devices

This patch set is to define the positive value returned by device .prepare() callbacks, which is used to indicate the devices are OK to remain in runtime-suspended during system sleep. A precise return value would make the code more readable.

Based on this definition, optimized the suspend process in intel-lpss driver.

Chen Yu (2):
PM / sleep: Return RPM_SUSPENDED to keep devices in runtime-suspended
mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarily

 Documentation/power/devices.txt    | 8 ++++----
 Documentation/power/runtime_pm.txt | 2 +-
 drivers/base/power/main.c          | 8 ++++++--
 drivers/mfd/intel-lpss.c           | 9 +++++++++
 4 files changed, 20 insertions(+), 7 deletions(-)
Signature · 1 line
2.7.4