aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-06-03 14:38:27 -0400
committerMark Brown <broonie@linaro.org>2014-06-03 18:00:35 -0400
commit38784764bbcdfedd7c9b220d6d593d281e52c059 (patch)
tree59161c694414234504f8622608a8006e9cbcf860 /sound
parent4c715c758c72ec5885ccfadf4e98ca76262ba619 (diff)
ASoC: pxa: add I2C dependencies as needed
We have in the past added 'depends on I2C' for some of the PXA boards after hitting randconfig build bugs. I have seens a couple of new bugs in this area during the linux-next cycle for 3.16, after it became possible to build some more PXA machines with I2C disabled. To shut this up for good, this adds the dependency to every board that uses I2C as the interface to the codec. I have gone through all board files and verified that they all either use AC97 or I2C, and this annotates the latter. Some of these already enable I2C from mach-pxa/Kconfig, but since that can change it's better to be explicit here. The link error that can result otherwise happens when CONFIG_I2C is set to 'm' and the codec driver is built-in as a result of being selected by the platform specific glue. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/pxa/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index 6473052b6899..ea6372b15dd5 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -40,7 +40,7 @@ config SND_MMP_SOC_SSPA
40 40
41config SND_PXA2XX_SOC_CORGI 41config SND_PXA2XX_SOC_CORGI
42 tristate "SoC Audio support for Sharp Zaurus SL-C7x0" 42 tristate "SoC Audio support for Sharp Zaurus SL-C7x0"
43 depends on SND_PXA2XX_SOC && PXA_SHARP_C7xx 43 depends on SND_PXA2XX_SOC && PXA_SHARP_C7xx && I2C
44 select SND_PXA2XX_SOC_I2S 44 select SND_PXA2XX_SOC_I2S
45 select SND_SOC_WM8731 45 select SND_SOC_WM8731
46 help 46 help
@@ -49,7 +49,7 @@ config SND_PXA2XX_SOC_CORGI
49 49
50config SND_PXA2XX_SOC_SPITZ 50config SND_PXA2XX_SOC_SPITZ
51 tristate "SoC Audio support for Sharp Zaurus SL-Cxx00" 51 tristate "SoC Audio support for Sharp Zaurus SL-Cxx00"
52 depends on SND_PXA2XX_SOC && PXA_SHARP_Cxx00 52 depends on SND_PXA2XX_SOC && PXA_SHARP_Cxx00 && I2C
53 select SND_PXA2XX_SOC_I2S 53 select SND_PXA2XX_SOC_I2S
54 select SND_SOC_WM8750 54 select SND_SOC_WM8750
55 help 55 help
@@ -58,7 +58,7 @@ config SND_PXA2XX_SOC_SPITZ
58 58
59config SND_PXA2XX_SOC_Z2 59config SND_PXA2XX_SOC_Z2
60 tristate "SoC Audio support for Zipit Z2" 60 tristate "SoC Audio support for Zipit Z2"
61 depends on SND_PXA2XX_SOC && MACH_ZIPIT2 61 depends on SND_PXA2XX_SOC && MACH_ZIPIT2 && I2C
62 select SND_PXA2XX_SOC_I2S 62 select SND_PXA2XX_SOC_I2S
63 select SND_SOC_WM8750 63 select SND_SOC_WM8750
64 help 64 help
@@ -66,7 +66,7 @@ config SND_PXA2XX_SOC_Z2
66 66
67config SND_PXA2XX_SOC_POODLE 67config SND_PXA2XX_SOC_POODLE
68 tristate "SoC Audio support for Poodle" 68 tristate "SoC Audio support for Poodle"
69 depends on SND_PXA2XX_SOC && MACH_POODLE 69 depends on SND_PXA2XX_SOC && MACH_POODLE && I2C
70 select SND_PXA2XX_SOC_I2S 70 select SND_PXA2XX_SOC_I2S
71 select SND_SOC_WM8731 71 select SND_SOC_WM8731
72 help 72 help
@@ -181,7 +181,7 @@ config SND_PXA2XX_SOC_HX4700
181 181
182config SND_PXA2XX_SOC_MAGICIAN 182config SND_PXA2XX_SOC_MAGICIAN
183 tristate "SoC Audio support for HTC Magician" 183 tristate "SoC Audio support for HTC Magician"
184 depends on SND_PXA2XX_SOC && MACH_MAGICIAN 184 depends on SND_PXA2XX_SOC && MACH_MAGICIAN && I2C
185 select SND_PXA2XX_SOC_I2S 185 select SND_PXA2XX_SOC_I2S
186 select SND_PXA_SOC_SSP 186 select SND_PXA_SOC_SSP
187 select SND_SOC_UDA1380 187 select SND_SOC_UDA1380