Skip to content

Run callback of device_prepare/complete consistently

[email protected] linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: use dpm_run_callback in device_preparedrivers/base/power/main.c+4 -54 replies
2/2PM: add dpm_run_callback_void and use it in device_completedrivers/base/power/main.c+22 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Run callback of device_prepare/complete consistently

dpm_run_callback is used in other stages of power states changing. It provides debug info message and time measurement when call these callback. We also want to benefit ->prepare and ->complete.

[PATCH 1/2] PM: use dpm_run_callback in device_prepare [PATCH 2/2] PM: add dpm_run_callback_void and use it in device_complete