mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
PM: runtime: Introduce one more usage counter guard
Follow previous commit 9a0abc3945 ("PM: runtime: Add auto-cleanup
macros for "resume and get" operations") and define a runtime PM
usage counter guard in which pm_runtime_get_noresume() and
pm_runtime_put_noidle() will be used for incrementing and
decrementing it, respectively.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameorn@huawei.com>
This commit is contained in:
parent
d5e58ce1fb
commit
384b52ce32
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue