Skip to contentSkip to conversation

ASoC: core - Separate out PCM operations into new file.

PATCH Applied Liam Girdwood 2 participants 2 messages Jun 9, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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  |  639 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 641 insertions(+), 612 deletions(-)
 create mode 100644 sound/soc/soc-pcm.c
sound/soc/Makefile +1 -1
index 1ed61c5..adb5719 100644
@@ -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 +639 -0

639 lines not on this page · raw message

Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 6 lines · Liam Girdwood

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.

Applied, thanks.