Skip to contentSkip to conversation

ASoC: Move register I/O code into a separate file

PATCH In review Mark Brown 2 participants 2 messages Jun 13, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Move register I/O code into a separate file

For clarity and to help ongoing refactoring in this area create a new file to contain the physical I/O functions, separating them out from the cache operations.

---
 sound/soc/Makefile    |    3 +-
 sound/soc/soc-cache.c |  380 ----------------------------------------------
 sound/soc/soc-io.c    |  399 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 401 insertions(+), 381 deletions(-)
 create mode 100644 sound/soc/soc-io.c
sound/soc/Makefile +2 -1
index adb5719..4f91387 100644
@@ -1,4 +1,5 @@
-snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o soc-pcm.o
+snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
+snd-soc-core-objs += soc-pcm.o soc-io.o
 
 obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
 obj-$(CONFIG_SND_SOC)	+= codecs/
sound/soc/soc-cache.c +0 -380

386 lines not on this page · raw message

sound/soc/soc-io.c new file +399 -0

399 lines not on this page · raw message

Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Mark Brown

For clarity and to help ongoing refactoring in this area create a new file to contain the physical I/O functions, separating them out from the cache operations.

Quoted 8 lines
---
 sound/soc/Makefile    |    3 +-
 sound/soc/soc-cache.c |  380 ----------------------------------------------
 sound/soc/soc-io.c    |  399 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 401 insertions(+), 381 deletions(-)
 create mode 100644 sound/soc/soc-io.c