Define positive return value to RPM_SUSPEND for runtime-suspended devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM / sleep: Return RPM_SUSPENDED to keep devices in runtime-suspendedDocumentation/ Documentation/ drivers/ | +11 | 2 replies | |
| 2/2 | mfd: intel-lpss: Avoid resuming runtime-suspended lpss unnecessarilydrivers/ | +9 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Mika Westerberg | Andy Shevchenko |
|---|---|---|
| 1/2 | ||
| 2/2 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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