Skip to contentSkip to conversation

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

PATCH Superseded Liam Girdwood 1 participant 2 messages Jun 9, 2011

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
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 +645 -0

645 lines not on this page · raw message

Signature · 1 line
1.7.4.1
#1 lore raw
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
---
 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