Skip to content

Commit

Permalink
ALSA: ASoC: Make all codecs depend on rather than selecting I2C
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Jaroslav Kysela committed Sep 4, 2008
1 parent c86a456 commit 7f9e9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7f9e9d7

Please sign in to comment.