ASoC: Move register I/O code into a separate file
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.
Signed-off-by Mark Brown <[email protected]>
--- 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
@@ -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
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
Signed-off-by Mark Brown <[email protected]>--- 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
Acked-by Liam Girdwood <[email protected]>