summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 22:50:17 +0800
committerMark Brown <broonie@kernel.org>2026-10-04 21:51:54 +0200
commit958d025d62352b81dbbd7e975442dd211176f4e1 (patch)
tree39b1ff0a03aaf0d1fee7c497f5ae772b5458858d /tools/lib/python
parentc7d07df95ee7ce7859e6c873a76d19ea9c64b6fd (diff)
ASoC: rt721-sdca: always cancel jack work on remove
rt721_sdca_sdw_remove() cancels the jack work only when hw_init is true. rt721_sdca_update_status() clears hw_init when the SoundWire slave becomes unattached, but jack work may already have been queued by rt721_sdca_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 objects are initialized during probe, so cancel them unconditionally instead of relying on the mutable hw_init state. Fixes: 86ce355c1f9a ("ASoC: rt721-sdca: Add RT721 SDCA driver") Signed-off-by: Jiale Yao <yaojiale02@163.com> Link: https://patch.msgid.link/20260925145019.2290367-6-yaojiale02@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions