summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2016-12-08 03:44:14 -0500
committerMark Brown <broonie@kernel.org>2016-12-08 11:08:37 -0500
commitde7975c2a42de889e2b3fd2f7d46f899ad8ccd45 (patch)
treeb8b674e6474b18a9f729764fc37fad91e9db735b
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ASoC: zte: spdif and i2s drivers are not zx296702 specific
ZTE ZX SPDIF and I2S drivers can work on not only ZX296702 but also other ZTE ZX family SoCs like ZX296718, which is an arm64 platform. Let's make a few renaming and tweak the Kconfig a bit to get the drivers available for other ZTE ZX platforms. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/zte/Kconfig16
-rw-r--r--sound/soc/zte/Makefile4
-rw-r--r--sound/soc/zte/zx-i2s.c (renamed from sound/soc/zte/zx296702-i2s.c)0
-rw-r--r--sound/soc/zte/zx-spdif.c (renamed from sound/soc/zte/zx296702-spdif.c)0
4 files changed, 10 insertions, 10 deletions
diff --git a/sound/soc/zte/Kconfig b/sound/soc/zte/Kconfig
index c47eb25e441f..6d8a90d36315 100644
--- a/sound/soc/zte/Kconfig
+++ b/sound/soc/zte/Kconfig
@@ -1,17 +1,17 @@
1config ZX296702_SPDIF 1config ZX_SPDIF
2 tristate "ZX296702 spdif" 2 tristate "ZTE ZX SPDIF Driver Support"
3 depends on SOC_ZX296702 || COMPILE_TEST 3 depends on ARCH_ZX || COMPILE_TEST
4 depends on COMMON_CLK 4 depends on COMMON_CLK
5 select SND_SOC_GENERIC_DMAENGINE_PCM 5 select SND_SOC_GENERIC_DMAENGINE_PCM
6 help 6 help
7 Say Y or M if you want to add support for codecs attached to the 7 Say Y or M if you want to add support for codecs attached to the
8 zx296702 spdif interface 8 ZTE ZX SPDIF interface
9 9
10config ZX296702_I2S 10config ZX_I2S
11 tristate "ZX296702 i2s" 11 tristate "ZTE ZX I2S Driver Support"
12 depends on SOC_ZX296702 || COMPILE_TEST 12 depends on ARCH_ZX || COMPILE_TEST
13 depends on COMMON_CLK 13 depends on COMMON_CLK
14 select SND_SOC_GENERIC_DMAENGINE_PCM 14 select SND_SOC_GENERIC_DMAENGINE_PCM
15 help 15 help
16 Say Y or M if you want to add support for codecs attached to the 16 Say Y or M if you want to add support for codecs attached to the
17 zx296702 i2s interface 17 ZTE ZX I2S interface
diff --git a/sound/soc/zte/Makefile b/sound/soc/zte/Makefile
index 254ed2c8c1a0..77768f5fd10c 100644
--- a/sound/soc/zte/Makefile
+++ b/sound/soc/zte/Makefile
@@ -1,2 +1,2 @@
1obj-$(CONFIG_ZX296702_SPDIF) += zx296702-spdif.o 1obj-$(CONFIG_ZX_SPDIF) += zx-spdif.o
2obj-$(CONFIG_ZX296702_I2S) += zx296702-i2s.o 2obj-$(CONFIG_ZX_I2S) += zx-i2s.o
diff --git a/sound/soc/zte/zx296702-i2s.c b/sound/soc/zte/zx-i2s.c
index 1cad93dc1fcf..1cad93dc1fcf 100644
--- a/sound/soc/zte/zx296702-i2s.c
+++ b/sound/soc/zte/zx-i2s.c
diff --git a/sound/soc/zte/zx296702-spdif.c b/sound/soc/zte/zx-spdif.c
index 26265ce4caca..26265ce4caca 100644
--- a/sound/soc/zte/zx296702-spdif.c
+++ b/sound/soc/zte/zx-spdif.c