Skip to content

Commit

Permalink
ASoC: Fix spurious codec driver dependencies
Browse files Browse the repository at this point in the history
Kbuild ignores dependency from things that are themselves selected so
ASoC machine drivers need to ensure that the control bus is being built.
This also avoids issues where multiple buses are supported by a given
codec.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jan 23, 2009
1 parent a435869 commit ef963dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,19 @@ config SND_SOC_SSM2602

config SND_SOC_TLV320AIC23
tristate
depends on I2C

config SND_SOC_TLV320AIC26
tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
depends on SPI

config SND_SOC_TLV320AIC3X
tristate
depends on I2C

config SND_SOC_TWL4030
tristate
depends on TWL4030_CORE

config SND_SOC_UDA134X
tristate
select SND_SOC_L3

config SND_SOC_UDA1380
tristate
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config SND_OMAP_SOC_MCBSP

config SND_OMAP_SOC_N810
tristate "SoC Audio support for Nokia N810"
depends on SND_OMAP_SOC && MACH_NOKIA_N810
depends on SND_OMAP_SOC && MACH_NOKIA_N810 && I2C
select SND_OMAP_SOC_MCBSP
select OMAP_MUX
select SND_SOC_TLV320AIC3X
Expand All @@ -17,7 +17,7 @@ config SND_OMAP_SOC_N810

config SND_OMAP_SOC_OSK5912
tristate "SoC Audio support for omap osk5912"
depends on SND_OMAP_SOC && MACH_OMAP_OSK
depends on SND_OMAP_SOC && MACH_OMAP_OSK && I2C
select SND_OMAP_SOC_MCBSP
select SND_SOC_TLV320AIC23
help
Expand Down

0 comments on commit ef963dc

Please sign in to comment.