Skip to content

Commit

Permalink
ASoC: Fix I2C dependency for SND_FSI_AK4642 and SND_FSI_DA7210
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Mark Brown committed Jun 16, 2010
1 parent f1df5ae commit 6651791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ config SND_SH7760_AC97

config SND_FSI_AK4642
bool "FSI-AK4642 sound support"
depends on SND_SOC_SH4_FSI
depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
select SND_SOC_AK4642
help
This option enables generic sound support for the
FSI - AK4642 unit

config SND_FSI_DA7210
bool "FSI-DA7210 sound support"
depends on SND_SOC_SH4_FSI
depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
select SND_SOC_DA7210
help
This option enables generic sound support for the
Expand Down

0 comments on commit 6651791

Please sign in to comment.