Skip to content

Commit de7975c

Browse files
shawnguo2broonie
authored andcommitted
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 <[email protected]> Reviewed-by: Jun Nie <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1001354 commit de7975c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

sound/soc/zte/Kconfig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
config ZX296702_SPDIF
2-
tristate "ZX296702 spdif"
3-
depends on SOC_ZX296702 || COMPILE_TEST
1+
config ZX_SPDIF
2+
tristate "ZTE ZX SPDIF Driver Support"
3+
depends on ARCH_ZX || COMPILE_TEST
44
depends on COMMON_CLK
55
select SND_SOC_GENERIC_DMAENGINE_PCM
66
help
77
Say Y or M if you want to add support for codecs attached to the
8-
zx296702 spdif interface
8+
ZTE ZX SPDIF interface
99

10-
config ZX296702_I2S
11-
tristate "ZX296702 i2s"
12-
depends on SOC_ZX296702 || COMPILE_TEST
10+
config ZX_I2S
11+
tristate "ZTE ZX I2S Driver Support"
12+
depends on ARCH_ZX || COMPILE_TEST
1313
depends on COMMON_CLK
1414
select SND_SOC_GENERIC_DMAENGINE_PCM
1515
help
1616
Say Y or M if you want to add support for codecs attached to the
17-
zx296702 i2s interface
17+
ZTE ZX I2S interface

sound/soc/zte/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
obj-$(CONFIG_ZX296702_SPDIF) += zx296702-spdif.o
2-
obj-$(CONFIG_ZX296702_I2S) += zx296702-i2s.o
1+
obj-$(CONFIG_ZX_SPDIF) += zx-spdif.o
2+
obj-$(CONFIG_ZX_I2S) += zx-i2s.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)