aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-29 21:21:49 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-13 22:19:31 +0100
commita2342ae325bb1f65d90a9f38baab4c9762018a5e (patch)
treed1e7e4a45421ff9b16ef2e1059568305b79fa420 /sound/soc/codecs/Kconfig
parente9ade7f933d629698cbe5f09f1e5511269180fea (diff)
downloadkernel_samsung_smdk4412-a2342ae325bb1f65d90a9f38baab4c9762018a5e.zip
kernel_samsung_smdk4412-a2342ae325bb1f65d90a9f38baab4c9762018a5e.tar.gz
kernel_samsung_smdk4412-a2342ae325bb1f65d90a9f38baab4c9762018a5e.tar.bz2
ASoC: Factor out shared code from WM8993
The WM8993 analogue control is shared with other devices in the same product line. Since this is a very substantial proportion of the driver move the definitions of these controls into a new wm_hubs module which allows them to be shared between the two. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index dd9b295..910b916 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -64,6 +64,10 @@ config SND_SOC_ALL_CODECS
If unsure select "N".
+config SND_SOC_WM_HUBS
+ tristate
+ default y if SND_SOC_WM8993=y
+ default m if SND_SOC_WM8993=m
config SND_SOC_AC97_CODEC
tristate