diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-06-05 12:47:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-06-05 12:47:12 -0700 |
commit | e271ed52b344ac02d4581286961d0c40acc54c03 (patch) | |
tree | 2545a1517c0c9732ea0ba512a6a48015a114ebff /drivers/media/platform/samsung/Kconfig | |
parent | 2c7e4a2663a1ab5a740c59c31991579b6b865a26 (diff) | |
parent | 8887abccf8aa16795f23ef3a3b25650cb8aa804c (diff) |
Merge tag 'pm-6.16-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pmHEADmaster
Pull power management fixes from Rafael Wysocki:
"Fix three issues introduced into device suspend/resume error paths in
the PM core by some of the recent updates.
First off, replace list_splice() with list_splice_init() in three
places in device suspend error paths to avoid attempting to use an
uninitialized list head going forward.
Second, rearrange device_resume() to avoid leaking the
power.is_suspended device PM flag to the next system suspend/resume
cycle where it can confuse rolling back after an error or early
wakeup.
Finally, add synchronization to dpm_async_resume_children() to avoid
resetting the async state mistakenly for devices whose resume
callbacks have already been queued up for asynchronous execution in
the given device resume phase, which fortunately can happen only if
the preceding system suspend transition has been aborted"
* tag 'pm-6.16-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: sleep: Add locking to dpm_async_resume_children()
PM: sleep: Fix power.is_suspended cleanup for direct-complete devices
PM: sleep: Fix list splicing in device suspend error paths
Diffstat (limited to 'drivers/media/platform/samsung/Kconfig')
0 files changed, 0 insertions, 0 deletions