summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2025-12-31 23:04:17 +0300
committerMark Brown <broonie@kernel.org>2026-01-05 16:25:47 +0300
commit7786b10688ac0ebeaff655923cbb2c7d34a98995 (patch)
tree6cecb7ce9c95f19fbca92e9989164ead39473e5f /include/linux/processor.h
parentdbd3fd05cddfdeec1e49b0a66269881c09eebd17 (diff)
downloadlinux-7786b10688ac0ebeaff655923cbb2c7d34a98995.tar.xz
ASoC: nau8821: Cancel pending work before suspend
A jack detection work that is unscheduled or in progress while executing the suspend handler could trigger a race condition. Ensure state consistency by cancelling any pending work or wait for its execution to complete before processing the suspend. Since driver (re)enables both insert and eject interrupts on resume, there is no risk to miss the related jack events. Therefore, flush_delayed_work() is not required here. Fixes: aab1ad11d69f ("ASoC: nau8821: new driver") Fixes: ee70bacef1c6 ("ASoC: nau8821: Avoid unnecessary blocking in IRQ handler") Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://patch.msgid.link/20251231-nau8821-cleanup-v1-3-6b0b76cbbb64@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions