]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: compress: move and export sof_probe_compr_ops
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 16 Sep 2021 10:32:08 +0000 (13:32 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 16 Sep 2021 13:04:12 +0000 (14:04 +0100)
commite0c22b037baad6cbbec6ac306002ce018284c8ba
tree966a19915ae00ebbeda141d5720fe83762352f90
parent3e179c5b4d39d77e3c82c59ab7ee9011e1751a96
ASoC: SOF: compress: move and export sof_probe_compr_ops

sof_probe_compr_ops are not platform-specific. So move
it to common compress code and export the symbol. The
compilation of the common compress code is already dependent
on the selection of CONFIG_SND_SOC_SOF_DEBUG_PROBES, so no
need to check the Kconfig section for defining sof_probe_compr_ops
again.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20210916103211.1573-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c
sound/soc/sof/compress.h
sound/soc/sof/intel/hda-dai.c