]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Convert the generic probe support to SOF client
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 10 Feb 2022 15:05:25 +0000 (17:05 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Feb 2022 15:19:12 +0000 (15:19 +0000)
commita3d39932b65d504702dce50ac18b6e337dd96d37
tree7b005e7dcbdb802b1502e4f20703e64d20b22f29
parent170a254a08c0984987be4b39cc4ca1c998e34e59
ASoC: SOF: Convert the generic probe support to SOF client

Add a new client driver for probes support and move
all the probes-related code from the core to the
client driver.

The probes client driver registers a component driver
with one CPU DAI driver for extraction and creates a
new sound card with one DUMMY DAI link with a dummy codec
that will be used for extracting audio data from specific
points in the audio pipeline.

The probes debugfs ops are based on the initial
implementation by Cezary Rojewski and have been moved
out of the SOF core into the client driver making it
easier to maintain. This change will make it easier
for the probes functionality to be added for all platforms
without having the need to modify the existing(15+) machine
drivers.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220210150525.30756-10-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
20 files changed:
sound/soc/sof/Kconfig
sound/soc/sof/Makefile
sound/soc/sof/core.c
sound/soc/sof/debug.c
sound/soc/sof/intel/Kconfig
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-dai.c
sound/soc/sof/intel/hda-probes.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h
sound/soc/sof/intel/icl.c
sound/soc/sof/intel/tgl.c
sound/soc/sof/ops.h
sound/soc/sof/pcm.c
sound/soc/sof/sof-client-probes.c [new file with mode: 0644]
sound/soc/sof/sof-client-probes.h [new file with mode: 0644]
sound/soc/sof/sof-priv.h
sound/soc/sof/sof-probes.c [deleted file]
sound/soc/sof/sof-probes.h [deleted file]