]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: amd: acp-pcm: Take buffer information directly from runtime
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 4 Mar 2022 20:57:25 +0000 (14:57 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:12:46 +0000 (13:12 +0000)
commitaf43e1335930c6bc7b180ee0c02bf19dabf227ba
tree45cbf1c5d42da8ecdf1c5ff5b5efebe5f6744add
parent85f15ad20f1c229aa0a21c692ee9c6de5498e967
ASoC: SOF: amd: acp-pcm: Take buffer information directly from runtime

Instead of using the values from ipc_params, take them directly from
substream->runtime.

This is in preparation of making the platform hw_params callback to be
IPC agnostic.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220304205733.62233-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp-pcm.c