]> Gentwo Git Trees - linux/.git/commit
ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 23 Oct 2025 09:23:47 +0000 (11:23 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 23 Oct 2025 12:42:26 +0000 (13:42 +0100)
commit845f716dc5f354c719f6fda35048b6c2eca99331
tree6c22f0ed09b9effaafb4ac749c1909b9f5fd0f1f
parentcfca1637bc2b6b1e4f191d2f0b25f12402fbbb26
ASoC: Intel: avs: Disable periods-elapsed work when closing PCM

avs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio
stream while period-elapsed work services its IRQs. As the former
frees the DAI's private context, these two operations shall be
synchronized to avoid slab-use-after-free or worse errors.

Fixes: 0dbb186c3510 ("ASoC: Intel: avs: Update stream status in a separate thread")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20251023092348.3119313-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/pcm.c