diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2024-10-16 11:29:10 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-17 12:11:20 +0100 |
commit | ab5593793e9088abcddce30ba8e376e31b7285fd (patch) | |
tree | 86b59dbc0a62655ad1051f6c5d951b09b82420c7 /sound/drivers/virmidi.c | |
parent | c78f1e15e46ac82607eed593b22992fd08644d96 (diff) |
ASoC: SOF: Intel: hda: Always clean up link DMA during stop
This is required to reset the DMA read/write pointers when the stream is
prepared and restarted after a call to snd_pcm_drain()/snd_pcm_drop().
Also, now that the stream is reset during stop, do not save LLP registers
in the case of STOP/suspend to avoid erroneous delay reporting.
Link: https://github.com/thesofproject/sof/issues/9502
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
All: stable@vger.kernel.org # 6.10.x 6.11.x
Link: https://patch.msgid.link/20241016032910.14601-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/drivers/virmidi.c')
0 files changed, 0 insertions, 0 deletions