ASoC: Fix I2C dependency for SND_FSI_AK4642 and SND_FSI_DA7210
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 15 Jun 2010 15:38:55 +0000 (17:38 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Jun 2010 15:34:17 +0000 (16:34 +0100)
commit66517915e0954ee027b889f452511945f7a9f3ec
tree06a8dc63a705fd58f6bf2026e40369b9aa2b62d1
parentf1df5aec68946e427eb4884c4d80e3259361478c
ASoC: Fix I2C dependency for SND_FSI_AK4642 and SND_FSI_DA7210

The config option SND_FSI_AK4642 selects SND_SOC_AK4642 which in turn
enables the compilation of ak4642.c - however this codec uses I2C to
communicate with the HW.
Same applies to DA7210.

Consequently when I2C is not set, the compilation fails [1]

This patch fixes this issues, by adding a depencdency on the related HW-
controller.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/Kconfig