ALSA: ASoC: Make all codecs depend on rather than selecting I2C
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Sep 2008 17:46:57 +0000 (18:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Sep 2008 08:34:18 +0000 (10:34 +0200)
The I2C layer uses I/O operations that aren't available on all
architectures and since select bypasses Kconfig dependency checking
selecting I2C breaks builds like allmodconfig on some architectures.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/Kconfig

index 5d77dc3e6bf3e6e92b6728ff71cacf530725832b..13ae4fd2d17983958fd339039b1ace62d5af58df 100644 (file)
@@ -1,6 +1,6 @@
 config SND_SOC_ALL_CODECS
        tristate "Build all ASoC CODEC drivers"
-       select I2C
+       depends on I2C
        select SPI
        select SND_SOC_AK4535
        select SND_SOC_UDA1380