summaryrefslogtreecommitdiffstats
path: root/crypto/aria_generic.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2024-12-17 10:10:19 +0100
committerMark Brown <broonie@kernel.org>2024-12-17 14:21:10 +0100
commite8d0ba147d901022bcb69da8d8fd817f84e9f3ca (patch)
tree7db36c155be849447ffa2c234e436ed64bc170b8 /crypto/aria_generic.c
parentASoC: Intel: sof_sdw: Update DMI matches for Lenovo (diff)
downloadlinux-e8d0ba147d901022bcb69da8d8fd817f84e9f3ca.tar.xz
linux-e8d0ba147d901022bcb69da8d8fd817f84e9f3ca.zip
ASoC: SOF: Intel: hda-dai: Do not release the link DMA on STOP
The linkDMA should not be released on stop trigger since a stream re-start might happen without closing of the stream. This leaves a short time for other streams to 'steal' the linkDMA since it has been released. This issue is not easy to reproduce under normal conditions as usually after stop the stream is closed, or the same stream is restarted, but if another stream got in between the stop and start, like this: aplay -Dhw:0,3 -c2 -r48000 -fS32_LE /dev/zero -d 120 CTRL+z aplay -Dhw:0,0 -c2 -r48000 -fS32_LE /dev/zero -d 120 then the link DMA channels will be mixed up, resulting firmware error or crash. Fixes: ab5593793e90 ("ASoC: SOF: Intel: hda: Always clean up link DMA during stop") Cc: stable@vger.kernel.org Closes: https://github.com/thesofproject/sof/issues/9695 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20241217091019.31798-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/aria_generic.c')
0 files changed, 0 insertions, 0 deletions