ASoC: core - Separate out PCM operations into new file.
PATCH 1/1 ASoC: core - Separate out PCM operations into new file.
In preparation for Dynamic PCM support (AKA DSP support).
There will be future patches that add support to allow PCMs to be dynamically routed to multiple DAIs at startup and also during stream runtime. This patch moves the ASoC core PCM operaitions into a new file called soc-pcm.c. This will in simplify the ASoC core features into distinct files.
--- sound/soc/Makefile | 2 +- sound/soc/soc-core.c | 612 +----------------------------------------------- sound/soc/soc-pcm.c | 645 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 647 insertions(+), 612 deletions(-) create mode 100644 sound/soc/soc-pcm.c
sound/soc/Makefile +1 -1
@@ -1,4 +1,4 @@ -snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o +snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o soc-pcm.o obj-$(CONFIG_SND_SOC) += snd-soc-core.o obj-$(CONFIG_SND_SOC) += codecs/
sound/soc/soc-core.c +1 -611
642 lines not on this page · raw message
sound/soc/soc-pcm.c new file +645 -0
645 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Quoted 7 lines · Liam
In preparation for Dynamic PCM support (AKA DSP support).
There will be future patches that add support to allow PCMs to be dynamically routed to multiple DAIs at startup and also during stream runtime. This patch moves the ASoC core PCM operaitions into a new file called
soc-pcm.c. This will in simplify the ASoC core features into distinct files.
Quoted 8 lines
Signed-off-by Liam Girdwood <[email protected]>--- sound/soc/Makefile | 2 +- sound/soc/soc-core.c | 612 +----------------------------------------------- sound/soc/soc-pcm.c | 645 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 647 insertions(+), 612 deletions(-) create mode 100644 sound/soc/soc-pcm.c
gah, forgot to strip out unused headers. V2 after lunch.
Liam