UPSTREAM: ASoC: SOF: Intel: hda: clear stream before freeing the DAI widget
The DAI_CONFIG IPC that is sent during the STOP trigger is used for stopping the DMA in the FW. This must be done after the DMA RUN bit is cleared by the host. So move the call to snd_hdac_ext_link_stream_clear() before hda_link_dai_widget_update() to follow the correct programming sequence for DMA stop for HDA DAIs. Signed-off-by:Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by:
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by:
Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20211125101520.291581-2-kai.vehmanen@linux.intel.com Signed-off-by:
Mark Brown <broonie@kernel.org> (cherry picked from commit e14cddc5) BUG=b:218766331 TEST=Test sound cards are listed and audio playback works. Signed-off-by:
Terry Cheong <htcheong@chromium.org> Signed-off-by:
Madhulika Dolke <madhulika.dolke@intel.com> (cherry picked from commit e14cddc5) Change-Id: I35282a52763273ae8bda4c5b9318525c6ec87957
Loading
Please register or sign in to comment