From: Peter Huewe Date: Tue, 15 Jun 2010 15:38:55 +0000 (+0200) Subject: ASoC: Fix I2C dependency for SND_FSI_AK4642 and SND_FSI_DA7210 X-Git-Tag: v2.6.36-rc1~493^2~1^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66517915e0954ee027b889f452511945f7a9f3ec;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed