aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-10 09:16:35 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-10 09:16:35 -0500
commit80e1b84ffe1354f314fd85c939900b816f394e5a (patch)
treef856f6b1978b3c7cb391dc909bc40a6fc1d798ec /sound/soc/codecs
parent4cfeb695e29d69570496354384f32b862795a47c (diff)
parent7c2de633863fcd46537d9ddbf5a9701f48225268 (diff)
Merge branch 'for-2.6.38' into for-2.6.39
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm8994.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 125bfb6eb245..3dc64c8b6a5c 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1424,7 +1424,7 @@ SND_SOC_DAPM_DAC_E("DAC1R", NULL, SND_SOC_NOPM, 0, 0,
1424 1424
1425static const struct snd_soc_dapm_widget wm8994_dac_widgets[] = { 1425static const struct snd_soc_dapm_widget wm8994_dac_widgets[] = {
1426SND_SOC_DAPM_DAC("DAC2L", NULL, WM8994_POWER_MANAGEMENT_5, 3, 0), 1426SND_SOC_DAPM_DAC("DAC2L", NULL, WM8994_POWER_MANAGEMENT_5, 3, 0),
1427SND_SOC_DAPM_DAC("DAC1R", NULL, WM8994_POWER_MANAGEMENT_5, 2, 0), 1427SND_SOC_DAPM_DAC("DAC2R", NULL, WM8994_POWER_MANAGEMENT_5, 2, 0),
1428SND_SOC_DAPM_DAC("DAC1L", NULL, WM8994_POWER_MANAGEMENT_5, 1, 0), 1428SND_SOC_DAPM_DAC("DAC1L", NULL, WM8994_POWER_MANAGEMENT_5, 1, 0),
1429SND_SOC_DAPM_DAC("DAC1R", NULL, WM8994_POWER_MANAGEMENT_5, 0, 0), 1429SND_SOC_DAPM_DAC("DAC1R", NULL, WM8994_POWER_MANAGEMENT_5, 0, 0),
1430}; 1430};
@@ -3327,6 +3327,12 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
3327 case WM8958: 3327 case WM8958:
3328 snd_soc_add_controls(codec, wm8958_snd_controls, 3328 snd_soc_add_controls(codec, wm8958_snd_controls,
3329 ARRAY_SIZE(wm8958_snd_controls)); 3329 ARRAY_SIZE(wm8958_snd_controls));
3330 snd_soc_dapm_new_controls(dapm, wm8994_lateclk_widgets,
3331 ARRAY_SIZE(wm8994_lateclk_widgets));
3332 snd_soc_dapm_new_controls(dapm, wm8994_adc_widgets,
3333 ARRAY_SIZE(wm8994_adc_widgets));
3334 snd_soc_dapm_new_controls(dapm, wm8994_dac_widgets,
3335 ARRAY_SIZE(wm8994_dac_widgets));
3330 snd_soc_dapm_new_controls(dapm, wm8958_dapm_widgets, 3336 snd_soc_dapm_new_controls(dapm, wm8958_dapm_widgets,
3331 ARRAY_SIZE(wm8958_dapm_widgets)); 3337 ARRAY_SIZE(wm8958_dapm_widgets));
3332 break; 3338 break;
@@ -3352,6 +3358,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
3352 } 3358 }
3353 break; 3359 break;
3354 case WM8958: 3360 case WM8958:
3361 snd_soc_dapm_add_routes(dapm, wm8994_lateclk_intercon,
3362 ARRAY_SIZE(wm8994_lateclk_intercon));
3355 snd_soc_dapm_add_routes(dapm, wm8958_intercon, 3363 snd_soc_dapm_add_routes(dapm, wm8958_intercon,
3356 ARRAY_SIZE(wm8958_intercon)); 3364 ARRAY_SIZE(wm8958_intercon));
3357 break; 3365 break;