]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: compr: Add compress ops implementation
authorDaniel Baluta <daniel.baluta@nxp.com>
Thu, 20 Jan 2022 14:37:41 +0000 (16:37 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Feb 2022 13:38:05 +0000 (13:38 +0000)
commit4cc60ab76b965d4c002331d2144cf21625e835a7
tree862021dcd5918e51b054ed66aaaf019263bcf556
parent24c3edeaa544e3e647069dc087ba4105b0f30c12
ASoC: SOF: compr: Add compress ops implementation

Implement snd_compress_ops. There are a lot of similarities with
PCM implementation.

For now we use sof_ipc_pcm_params to transfer compress parameters to SOF
firmware.

This will be changed in the future once we either add new compress
parameters to SOF or enhance existing sof_ipc_pcm_params structure
to support all native compress params.

Note that get_caps and get_codec_caps are missing and will be added
later. This is because we need to find a way to advertise DSP
capabilities depending on supported platforms.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20220120143741.492634-1-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c