alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc/sh: Fix I2C dependency for SND_FSI_AK4642
@ 2010-06-14 15:39 Peter Huewe
  2010-06-14 16:10 ` Mark Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Huewe @ 2010-06-14 15:39 UTC (permalink / raw)
  To: Liam Girdwood
  Cc: linux-sh, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Kuninori Morimoto, Guennadi Liakhovetski, alsa-devel,
	linux-kernel

From: Peter Huewe <peterhuewe@gmx.de>

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

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

This patch fixes this issues.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2709408/
KernelVersion: linux-next 20100614

 sound/soc/sh/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
index a1d14bc..d26b815 100644
--- a/sound/soc/sh/Kconfig
+++ b/sound/soc/sh/Kconfig
@@ -50,6 +50,7 @@ config SND_FSI_AK4642
 	bool "FSI-AK4642 sound support"
 	depends on SND_SOC_SH4_FSI
 	select SND_SOC_AK4642
+	select I2C
 	help
 	  This option enables generic sound support for the
 	  FSI - AK4642 unit
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-06-16 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-14 15:39 [PATCH] soc/sh: Fix I2C dependency for SND_FSI_AK4642 Peter Huewe
2010-06-14 16:10 ` Mark Brown
2010-06-15 14:49   ` Peter Hüwe
2010-06-15 15:19     ` Mark Brown
2010-06-15 15:38       ` [PATCH v2] soc/sh: Fix I2C dependency for SND_FSI_AK4642 and SND_FSI_DA7210 Peter Huewe
2010-06-16  3:54         ` Paul Mundt
2010-06-16  7:43           ` Mark Brown
2010-06-16  7:49             ` Paul Mundt
2010-06-16  7:58               ` Mark Brown
2010-06-16 15:43         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).