diff options
| author | Jiale Yao <yaojiale02@163.com> | 2026-09-25 22:50:13 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-04 21:51:54 +0200 |
| commit | 9a98f7e955d35e0831fb179e88e98cf9bc0e001e (patch) | |
| tree | 3ddfabd47e56b0efcdb09ffc4ae43f9104a549ef /tools/lib/python/kdoc/python_version.py | |
| parent | 4d2b92b82ee82f0008179cd795b02256144064e1 (diff) | |
ASoC: rt5682-sdw: always cancel jack work on remove
rt5682_sdw_remove() cancels jack_detect_work only when hw_init is true.
rt5682_update_status() clears hw_init when the SoundWire slave becomes
unattached, but jack_detect_work may already have been queued by
rt5682_interrupt_callback() or the jack initialization path.
A remove after that status update can therefore skip the cancellation and
leave delayed work pending after the codec private data has been freed.
The work object is initialized during probe, so cancel it unconditionally
instead of relying on the mutable hw_init state.
Fixes: ac63716da307 ("ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove")
Signed-off-by: Jiale Yao <yaojiale02@163.com>
Link: https://patch.msgid.link/20260925145019.2290367-2-yaojiale02@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
