ASoC: cirrus: tlv320aic23 needs I2C
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Feb 2015 20:43:13 +0000 (21:43 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 21 Feb 2015 09:36:27 +0000 (18:36 +0900)
commit52554fbd2f88a432a16e9e88e14c4b02ccb7cdb6
tree3f5bcb484ee290f32bdc4ec90985a8975aa72174
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735
ASoC: cirrus: tlv320aic23 needs I2C

The tlv320aic23 codec is selected by the ep93xx snapper platform,
which are missing a dependency on I2C, and that can result in this
build error, as found during randconfig builds:

.../codecs/tlv320aic23-i2c.c: In function 'tlv320aic23_i2c_probe':
.../codecs/tlv320aic23-i2c.c:27:2: error: implicit declaration of function 'i2c_check_functionality' [-Werror=implicit-function-declaration]
  if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
  ^

This adds the missing dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/cirrus/Kconfig