diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-17 12:20:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-17 12:20:26 -0400 |
commit | 1ee9271d67eca42853a4037d26504d9e3e1e1f9c (patch) | |
tree | 6876dbdc0e890a0c6a3580e0943304f7c4cf5fca /sound | |
parent | 60790c5735c78e2576fcb1e2fa47f5f11464445a (diff) | |
parent | 939d3c6a6c56d1db6ab7e44ddf11de60f0122d1a (diff) |
Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/bells.c | 14 | ||||
-rw-r--r-- | sound/soc/samsung/smdk_wm8580pcm.c | 1 | ||||
-rw-r--r-- | sound/soc/samsung/smdk_wm8994pcm.c | 1 |
3 files changed, 14 insertions, 2 deletions
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c index ceed466af9ff..29e246803626 100644 --- a/sound/soc/samsung/bells.c +++ b/sound/soc/samsung/bells.c | |||
@@ -350,8 +350,16 @@ static struct snd_soc_codec_conf bells_codec_conf[] = { | |||
350 | }, | 350 | }, |
351 | }; | 351 | }; |
352 | 352 | ||
353 | static struct snd_soc_dapm_widget bells_widgets[] = { | ||
354 | SND_SOC_DAPM_MIC("DMIC", NULL), | ||
355 | }; | ||
356 | |||
353 | static struct snd_soc_dapm_route bells_routes[] = { | 357 | static struct snd_soc_dapm_route bells_routes[] = { |
354 | { "Sub CLK_SYS", NULL, "OPCLK" }, | 358 | { "Sub CLK_SYS", NULL, "OPCLK" }, |
359 | |||
360 | { "DMIC", NULL, "MICBIAS2" }, | ||
361 | { "IN2L", NULL, "DMIC" }, | ||
362 | { "IN2R", NULL, "DMIC" }, | ||
355 | }; | 363 | }; |
356 | 364 | ||
357 | static struct snd_soc_card bells_cards[] = { | 365 | static struct snd_soc_card bells_cards[] = { |
@@ -365,6 +373,8 @@ static struct snd_soc_card bells_cards[] = { | |||
365 | 373 | ||
366 | .late_probe = bells_late_probe, | 374 | .late_probe = bells_late_probe, |
367 | 375 | ||
376 | .dapm_widgets = bells_widgets, | ||
377 | .num_dapm_widgets = ARRAY_SIZE(bells_widgets), | ||
368 | .dapm_routes = bells_routes, | 378 | .dapm_routes = bells_routes, |
369 | .num_dapm_routes = ARRAY_SIZE(bells_routes), | 379 | .num_dapm_routes = ARRAY_SIZE(bells_routes), |
370 | 380 | ||
@@ -383,6 +393,8 @@ static struct snd_soc_card bells_cards[] = { | |||
383 | 393 | ||
384 | .late_probe = bells_late_probe, | 394 | .late_probe = bells_late_probe, |
385 | 395 | ||
396 | .dapm_widgets = bells_widgets, | ||
397 | .num_dapm_widgets = ARRAY_SIZE(bells_widgets), | ||
386 | .dapm_routes = bells_routes, | 398 | .dapm_routes = bells_routes, |
387 | .num_dapm_routes = ARRAY_SIZE(bells_routes), | 399 | .num_dapm_routes = ARRAY_SIZE(bells_routes), |
388 | 400 | ||
@@ -401,6 +413,8 @@ static struct snd_soc_card bells_cards[] = { | |||
401 | 413 | ||
402 | .late_probe = bells_late_probe, | 414 | .late_probe = bells_late_probe, |
403 | 415 | ||
416 | .dapm_widgets = bells_widgets, | ||
417 | .num_dapm_widgets = ARRAY_SIZE(bells_widgets), | ||
404 | .dapm_routes = bells_routes, | 418 | .dapm_routes = bells_routes, |
405 | .num_dapm_routes = ARRAY_SIZE(bells_routes), | 419 | .num_dapm_routes = ARRAY_SIZE(bells_routes), |
406 | 420 | ||
diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c index e43bd4294f99..23a9204b106d 100644 --- a/sound/soc/samsung/smdk_wm8580pcm.c +++ b/sound/soc/samsung/smdk_wm8580pcm.c | |||
@@ -176,7 +176,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
176 | static int snd_smdk_remove(struct platform_device *pdev) | 176 | static int snd_smdk_remove(struct platform_device *pdev) |
177 | { | 177 | { |
178 | snd_soc_unregister_card(&smdk_pcm); | 178 | snd_soc_unregister_card(&smdk_pcm); |
179 | platform_set_drvdata(pdev, NULL); | ||
180 | return 0; | 179 | return 0; |
181 | } | 180 | } |
182 | 181 | ||
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index 3688a32000a2..0c84ca099612 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c | |||
@@ -146,7 +146,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
146 | static int snd_smdk_remove(struct platform_device *pdev) | 146 | static int snd_smdk_remove(struct platform_device *pdev) |
147 | { | 147 | { |
148 | snd_soc_unregister_card(&smdk_pcm); | 148 | snd_soc_unregister_card(&smdk_pcm); |
149 | platform_set_drvdata(pdev, NULL); | ||
150 | return 0; | 149 | return 0; |
151 | } | 150 | } |
152 | 151 | ||