]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: Declare sof_compress_ops in sof-priv.h
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 24 Feb 2022 17:23:24 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 24 Feb 2022 20:21:50 +0000 (20:21 +0000)
commit299905881ebd3b7ee5e3525356529c3d0ceb0688
treeb8c288c4c0ce778e27dbde51ac87b45d6587b8b1
parent1f197351b3af345b626735ed9cda43fa896c23d3
ASoC: SOF: Declare sof_compress_ops in sof-priv.h

Fix the following sparse error:
sound/soc/sof/compress.c:310:25: error: symbol 'sof_compressed_ops' was not declared. Should it be static?

Do not enable set the pd->compress_ops yet as it is not a valid assumption
that real compress support really works when CONFIG_SND_SOC_SOF_COMPRESS
is set as the HDA Probes support also selects it, but compressed audio
is not supported (yet) on Intel platforms.

Fixes: 6324cf901e14c ("ASoC: SOF: compr: Add compress ops implementation")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220224172324.17976-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-priv.h