summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-02-27 11:53:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-10 14:37:26 +0200
commit3c64a5bacb6b29cb40fcdfa27fc56712bab0d41d (patch)
treee8ce665f9846e385bd3e1b3d71a83fc68792d5c1 /arch
parent913b739cd2bfcff88c9cc7b977596c4194a6dcee (diff)
downloadlinux-3c64a5bacb6b29cb40fcdfa27fc56712bab0d41d.tar.gz
linux-3c64a5bacb6b29cb40fcdfa27fc56712bab0d41d.tar.bz2
linux-3c64a5bacb6b29cb40fcdfa27fc56712bab0d41d.zip
PM: sleep: Adjust check before setting power.must_resume
[ Upstream commit eeb87d17aceab7803a5a5bcb6cf2817b745157cf ] The check before setting power.must_resume in device_suspend_noirq() does not take power.child_count into account, but it should do that, so use pm_runtime_need_not_resume() in it for this purpose and adjust the comment next to it accordingly. Fixes: 107d47b2b95e ("PM: sleep: core: Simplify the SMART_SUSPEND flag handling") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://patch.msgid.link/3353728.44csPzL39Z@rjwysocki.net Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions