]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: partition audio-related parts from SOF core
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 4 Dec 2019 21:15:51 +0000 (15:15 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2019 18:38:57 +0000 (18:38 +0000)
commit83684013779967c28a9496df043e8ec40156518e
treee4def1693d15948abd5996ad4cc8965d61554265
parent23fc6ce1c63ef05bb079ad63d00a7c311866c6ab
ASoC: SOF: partition audio-related parts from SOF core

Move all the audio-specific code in the core,
audio-specific logic in the top-level PM callbacks
and the core header files into a separate file
(sof-audio.*) in preparation for adding an
audio client device.

In the process of moving all structure definitions
for widget, routes, pcm's etc, the snd_sof_dev
member in all these structs is replaced with
the snd_soc_component member. Also, use the component
device instead of the snd_sof_dev device wherever
possible in the PCM component driver,
control IO functions and the topology parser as the
component device will be moved over to the client
device later on.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191204211556.12671-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
13 files changed:
sound/soc/sof/Makefile
sound/soc/sof/control.c
sound/soc/sof/core.c
sound/soc/sof/intel/hda-dai.c
sound/soc/sof/intel/hda-pcm.c
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/ipc.c
sound/soc/sof/pcm.c
sound/soc/sof/pm.c
sound/soc/sof/sof-audio.c [new file with mode: 0644]
sound/soc/sof/sof-audio.h [new file with mode: 0644]
sound/soc/sof/sof-priv.h
sound/soc/sof/topology.c