Skip to content

Commit

Permalink
ASoC: zte: spdif and i2s drivers are not zx296702 specific
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
shawnguo2 authored and broonie committed Dec 8, 2016
1 parent 1001354 commit de7975c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions sound/soc/zte/Kconfig
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
config ZX296702_SPDIF
tristate "ZX296702 spdif"
depends on SOC_ZX296702 || COMPILE_TEST
config ZX_SPDIF
tristate "ZTE ZX SPDIF Driver Support"
depends on ARCH_ZX || COMPILE_TEST
depends on COMMON_CLK
select SND_SOC_GENERIC_DMAENGINE_PCM
help
Say Y or M if you want to add support for codecs attached to the
zx296702 spdif interface
ZTE ZX SPDIF interface

config ZX296702_I2S
tristate "ZX296702 i2s"
depends on SOC_ZX296702 || COMPILE_TEST
config ZX_I2S
tristate "ZTE ZX I2S Driver Support"
depends on ARCH_ZX || COMPILE_TEST
depends on COMMON_CLK
select SND_SOC_GENERIC_DMAENGINE_PCM
help
Say Y or M if you want to add support for codecs attached to the
zx296702 i2s interface
ZTE ZX I2S interface
4 changes: 2 additions & 2 deletions sound/soc/zte/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
obj-$(CONFIG_ZX296702_SPDIF) += zx296702-spdif.o
obj-$(CONFIG_ZX296702_I2S) += zx296702-i2s.o
obj-$(CONFIG_ZX_SPDIF) += zx-spdif.o
obj-$(CONFIG_ZX_I2S) += zx-i2s.o
File renamed without changes.
File renamed without changes.

0 comments on commit de7975c

Please sign in to comment.