diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-01-15 03:46:25 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-01-15 19:21:19 +0300 |
commit | 1f5c6855260141ac3115e9a065491ee2ac07f9bc (patch) | |
tree | ab0ab3f9402da055ed0f56d6c23dfbe9cd715c96 /drivers/mtd/mtdcore.h | |
parent | 4918e1f87c5fb7fc8f73a7d8fb118beeb94e05f7 (diff) | |
download | linux-1f5c6855260141ac3115e9a065491ee2ac07f9bc.tar.xz |
PM / runtime: Check ignore_children in pm_runtime_need_not_resume()
Modify pm_runtime_need_not_resume() to make it avoid taking
power.child_count for devices with power.ignore_children which
is consistent with the runtime PM usage of these fields.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mtd/mtdcore.h')
0 files changed, 0 insertions, 0 deletions