Skip to content

PM / Runtime: rpm_suspend() and rpm_resume() fixes

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM / Runtime: Fix rpm_resume() return value for power.no_callbacks setdrivers/base/power/runtime.c+2 -11 reply
2/3PM / Runtime: Clear power.deferred_resume on success in rpm_suspend()drivers/base/power/runtime.c+1 -11 reply
3/3PM / Runtime: Check device PM QoS setting before "no callbacks" checkdrivers/base/power/runtime.c+6 -61 reply
3/3PM / Runtime: Check device PM QoS setting before "no callbacks" checkdrivers/base/power/runtime.c+2 -61 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlan Stern
1/3A-b
2/3A-b
3/3A-b
3/3A-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/3] PM / Runtime: rpm_suspend() and rpm_resume() fixes

Hi,

The following three patches fix minor issues in rpm_suspend() and rpm_resume(). They are on top of the current linux-next branch of the linux-pm.git tree, but they should apply to the mainline too.

[1/3] - Fix rpm_resume() return value for power.no_callbacks set and active
parent.
[2/3] - Move the clearing of power.deferred_resume in rpm_suspend() to a better
place.
[3/3] - Check the PM QoS setting before doing the first power.no_callbacks check.

Thanks,
Rafael