summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 22:50:14 +0800
committerMark Brown <broonie@kernel.org>2026-10-04 21:51:54 +0200
commit4bf78e3d9e324f9f2e39feecedd4f70b05baeb16 (patch)
treeea3c6a2096669c53c17612e57b36ffb01e400bfd /tools/lib/python/kdoc
parent9a98f7e955d35e0831fb179e88e98cf9bc0e001e (diff)
ASoC: rt711-sdw: always cancel jack work on remove
rt711_sdw_remove() cancels the jack and calibration work only when hw_init is true. rt711_update_status() clears hw_init when the SoundWire slave becomes unattached, but work may already have been queued by rt711_interrupt_callback() or the jack initialization path. A remove after that status update can therefore skip the cancellation and leave 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: 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-3-yaojiale02@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions