]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit6324cf901e14c6662be508f30485e0f09c54694d
tree862021dcd5918e51b054ed66aaaf019263bcf556
parentd466706b9d0dae4754a47c34fd5f4654ee54f609
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