Allow pcm5102 module to be built on sunxi kernels and build the module by default (#1802)

* [sunxi] allow pcm5102a codec module to be built

for sunxi-current and sunx-dev kernels.

Fixes #1798

* [sunxi] build pcm5102a and pcm51xx_(i2s|spi) modules by default

on sunxi-current and sunxi-dev kernels.
This commit is contained in:
David Douard 2020-02-14 18:47:55 +01:00 committed by GitHub
parent b9a589124d
commit 76dc8aba8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 4 deletions

View File

@ -4737,8 +4737,10 @@ CONFIG_SND_SOC_PCM3060_I2C=m
CONFIG_SND_SOC_PCM3060_SPI=m
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
CONFIG_SND_SOC_PCM5102A=m
CONFIG_SND_SOC_PCM512x=m
CONFIG_SND_SOC_PCM512x_I2C=m
CONFIG_SND_SOC_PCM512x_SPI=m
CONFIG_SND_SOC_RK3328=m
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set

View File

@ -4716,8 +4716,10 @@ CONFIG_SND_SOC_PCM3060_I2C=m
CONFIG_SND_SOC_PCM3060_SPI=m
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
CONFIG_SND_SOC_PCM5102A=m
CONFIG_SND_SOC_PCM512x=m
CONFIG_SND_SOC_PCM512x_I2C=m
CONFIG_SND_SOC_PCM512x_SPI=m
CONFIG_SND_SOC_RK3328=m
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set

View File

@ -0,0 +1,11 @@
--- a/sound/soc/codecs/Kconfig 2020-02-13 23:44:47.394937509 +0100
+++ b/sound/soc/codecs/Kconfig 2020-02-13 23:47:11.571103180 +0100
@@ -880,7 +880,7 @@
select REGMAP_SPI
config SND_SOC_PCM5102A
- tristate
+ tristate "Texas Instruments PCM5102A CODEC"
config SND_SOC_PCM512x
tristate

View File

@ -0,0 +1,11 @@
--- a/sound/soc/codecs/Kconfig 2020-02-13 23:44:47.394937509 +0100
+++ b/sound/soc/codecs/Kconfig 2020-02-13 23:47:11.571103180 +0100
@@ -917,7 +917,7 @@
select REGMAP_SPI
config SND_SOC_PCM5102A
- tristate
+ tristate "Texas Instruments PCM5102A CODEC"
config SND_SOC_PCM512x
tristate