Skip to content

Commit

Permalink
ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER
Browse files Browse the repository at this point in the history
This fixes build errors in configurations with I2C/SPI master disabled.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Max Filippov authored and Mark Brown committed Nov 3, 2014
1 parent d004ebb commit bf9706f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23

config SND_SOC_TLV320AIC23_I2C
tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
depends on I2C
select SND_SOC_TLV320AIC23

config SND_SOC_TLV320AIC23_SPI
tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
depends on SPI_MASTER
select SND_SOC_TLV320AIC23

config SND_SOC_TLV320AIC26
Expand Down

0 comments on commit bf9706f

Please sign in to comment.