diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-04-29 07:18:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-30 21:29:33 -0400 |
commit | a2915d4fefd41efeb76124dadf7a9cb78bff24ad (patch) | |
tree | ea98a0ab99e2d7d994ae14673db3383c28e3d9aa /sound/soc/codecs/Kconfig | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
ASoC: CS42L51 and WM8962 codecs depend on INPUT
Building ARM randconfig got into a situation where CONFIG_INPUT
is turned off and SND_SOC_ALL_CODECS is turned on, which failed
for two codecs trying to use the input subsystem. Some other
drivers also select one of these codecs and consequently need an
explicit dependency added.
Appending to the dependency list seems the easiest way out,
since this is not a practical limitation. If anyone really
needs to build these codecs for a kernel with no input support,
a more sophisticated solution can be implemented.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index f0e840137887..d4260d39dbde 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -40,7 +40,7 @@ config SND_SOC_ALL_CODECS | |||
40 | select SND_SOC_ALC5632 if I2C | 40 | select SND_SOC_ALC5632 if I2C |
41 | select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC | 41 | select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC |
42 | select SND_SOC_CS42L51 if I2C | 42 | select SND_SOC_CS42L51 if I2C |
43 | select SND_SOC_CS42L52 if I2C | 43 | select SND_SOC_CS42L52 if I2C && INPUT |
44 | select SND_SOC_CS42L73 if I2C | 44 | select SND_SOC_CS42L73 if I2C |
45 | select SND_SOC_CS4270 if I2C | 45 | select SND_SOC_CS4270 if I2C |
46 | select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI | 46 | select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI |
@@ -127,7 +127,7 @@ config SND_SOC_ALL_CODECS | |||
127 | select SND_SOC_WM8955 if I2C | 127 | select SND_SOC_WM8955 if I2C |
128 | select SND_SOC_WM8960 if I2C | 128 | select SND_SOC_WM8960 if I2C |
129 | select SND_SOC_WM8961 if I2C | 129 | select SND_SOC_WM8961 if I2C |
130 | select SND_SOC_WM8962 if I2C | 130 | select SND_SOC_WM8962 if I2C && INPUT |
131 | select SND_SOC_WM8971 if I2C | 131 | select SND_SOC_WM8971 if I2C |
132 | select SND_SOC_WM8974 if I2C | 132 | select SND_SOC_WM8974 if I2C |
133 | select SND_SOC_WM8978 if I2C | 133 | select SND_SOC_WM8978 if I2C |
@@ -282,7 +282,7 @@ config SND_SOC_CS42L51 | |||
282 | 282 | ||
283 | config SND_SOC_CS42L52 | 283 | config SND_SOC_CS42L52 |
284 | tristate "Cirrus Logic CS42L52 CODEC" | 284 | tristate "Cirrus Logic CS42L52 CODEC" |
285 | depends on I2C | 285 | depends on I2C && INPUT |
286 | 286 | ||
287 | config SND_SOC_CS42L73 | 287 | config SND_SOC_CS42L73 |
288 | tristate "Cirrus Logic CS42L73 CODEC" | 288 | tristate "Cirrus Logic CS42L73 CODEC" |
@@ -598,7 +598,7 @@ config SND_SOC_WM8961 | |||
598 | 598 | ||
599 | config SND_SOC_WM8962 | 599 | config SND_SOC_WM8962 |
600 | tristate "Wolfson Microelectronics WM8962 CODEC" | 600 | tristate "Wolfson Microelectronics WM8962 CODEC" |
601 | depends on I2C | 601 | depends on I2C && INPUT |
602 | 602 | ||
603 | config SND_SOC_WM8971 | 603 | config SND_SOC_WM8971 |
604 | tristate | 604 | tristate |