]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: compress: Dynamically allocate pcm params struct
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 12 Jul 2022 14:15:28 +0000 (17:15 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 12 Jul 2022 14:22:06 +0000 (15:22 +0100)
commita4e1b6fdcc055fe6b5e634e3525f320e903d6b24
treefb548df6707e583fb40aa5f201cb8278a14313df
parent17a143df13d74f6afbf526e22133c7cfc5132288
ASoC: SOF: compress: Dynamically allocate pcm params struct

We need to extend sof_ipc_pcm_parmas with additional data in order
to send compress_params to SOF FW.

The extensions will be done at runtime so we need to dynamically
allocate pcm object of type struct sof_ipc_pcm_params.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220712141531.14599-2-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c