aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2025-10-03 21:03:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:33 +0200
commit1db90858d07043cef9de74d64d2237410be82518 (patch)
treed5e6d1258dba3688ae1e758c4d38c8c0fe69c3d6 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
parentASoC: codecs: Fix gain setting ranges for Renesas IDT821034 codec (diff)
ASoC: nau8821: Cancel jdet_work before handling jack ejection
[ Upstream commit 6e54919cb541fdf1063b16f3254c28d01bc9e5ff ] The microphone detection work scheduled by a prior jack insertion interrupt may still be in a pending state or under execution when a jack ejection interrupt has been fired. This might lead to a racing condition or nau8821_jdet_work() completing after nau8821_eject_jack(), which will override the currently disconnected state of the jack and incorrectly report the headphone or the headset as being connected. Cancel any pending jdet_work or wait for its execution to finish before attempting to handle the ejection interrupt. Proceed similarly before launching the eject handler as a consequence of detecting an invalid insert interrupt. Fixes: aab1ad11d69f ("ASoC: nau8821: new driver") Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://patch.msgid.link/20251003-nau8821-jdet-fixes-v1-1-f7b0e2543f09@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions