diff options
| author | 2026-05-21 13:30:57 +0100 | |
|---|---|---|
| committer | 2026-05-21 14:13:06 +0100 | |
| commit | 18e7bd9f2446664053f8c34b72abd4606d22d858 (patch) | |
| tree | 2bf423d1a10bef8404f953d322acf59fc323254c /include/linux/reset/ssh:/git@git.zx2c4.com | |
| parent | MAINTAINERS: ASoC: Intel/SOF: Remove Ranjani Sridharan as maintainer (diff) | |
ASoC: cs35l56: Fix flushing of IRQ work in cs35l56_sdw_remove()
Use flush_work() instead of cancel_work_sync() to terminate pending IRQ
work in cs35l56_sdw_remove(). And flush_work() again after masking the
interrupts to flush any queueing that was racing with the masking. This is
the same sequence as cs35l56_sdw_system_suspend().
cs35l56_sdw_interrupt() takes the pm_runtime to prevent the bus powering-
down before the interrupt status can be read and handled. The work releases
this pm_runtime. So cancelling it, instead of flushing, could leave an
unbalanced pm_runtime.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: e49611252900 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56")
Link: https://patch.msgid.link/20260521123057.988732-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/reset/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
