ASoC: SOF: ipc4-pcm: set pcm rate to dai setting
authorRander Wang <rander.wang@intel.com>
Fri, 15 Jul 2022 14:52:08 +0000 (09:52 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jul 2022 19:11:31 +0000 (20:11 +0100)
commitbdb803c8280ba4fd8b8c1cf9cb69f3555853f397
tree65b4794db21a2ea6b3afb0e9083fdb952ca10dba
parent711d0427c7134c5ba65b8f408888a0335e23ed23
ASoC: SOF: ipc4-pcm: set pcm rate to dai setting

Dsp converts pcm rate to the one defined by dai. When SRC
is used, the pcm runtime rate is different with dai rate
and we need to fix it up for BE components.

Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220715145216.277003-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-pcm.c