diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2010-06-15 11:38:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-06-16 11:34:17 -0400 |
commit | 66517915e0954ee027b889f452511945f7a9f3ec (patch) | |
tree | 06a8dc63a705fd58f6bf2026e40369b9aa2b62d1 /sound/soc/sh | |
parent | f1df5aec68946e427eb4884c4d80e3259361478c (diff) |
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>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig index a1d14bc3c76f..52d7e8ed9c1f 100644 --- a/sound/soc/sh/Kconfig +++ b/sound/soc/sh/Kconfig | |||
@@ -48,7 +48,7 @@ config SND_SH7760_AC97 | |||
48 | 48 | ||
49 | config SND_FSI_AK4642 | 49 | config SND_FSI_AK4642 |
50 | bool "FSI-AK4642 sound support" | 50 | bool "FSI-AK4642 sound support" |
51 | depends on SND_SOC_SH4_FSI | 51 | depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE |
52 | select SND_SOC_AK4642 | 52 | select SND_SOC_AK4642 |
53 | help | 53 | help |
54 | This option enables generic sound support for the | 54 | This option enables generic sound support for the |
@@ -56,7 +56,7 @@ config SND_FSI_AK4642 | |||
56 | 56 | ||
57 | config SND_FSI_DA7210 | 57 | config SND_FSI_DA7210 |
58 | bool "FSI-DA7210 sound support" | 58 | bool "FSI-DA7210 sound support" |
59 | depends on SND_SOC_SH4_FSI | 59 | depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE |
60 | select SND_SOC_DA7210 | 60 | select SND_SOC_DA7210 |
61 | help | 61 | help |
62 | This option enables generic sound support for the | 62 | This option enables generic sound support for the |