Skip to content

Commit

Permalink
ASoC: Add support for on-board analogue microphones on Speyside WM8962
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Sep 23, 2011
1 parent 086d7f8 commit 7564463
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/soc/samsung/speyside_wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static struct snd_soc_dapm_widget widgets[] = {
SND_SOC_DAPM_MIC("Headset Mic", NULL),

SND_SOC_DAPM_MIC("DMIC", NULL),
SND_SOC_DAPM_MIC("AMIC", NULL),

SND_SOC_DAPM_SPK("Main Speaker", NULL),
};
Expand All @@ -156,6 +157,10 @@ static struct snd_soc_dapm_route audio_paths[] = {
{ "IN4L", NULL, "Headset Mic" },
{ "IN4R", NULL, "Headset Mic" },

{ "AMIC", NULL, "MICBIAS" },
{ "IN1L", NULL, "AMIC" },
{ "IN1R", NULL, "AMIC" },

{ "DMIC", NULL, "MICBIAS" },
{ "DMICDAT", NULL, "DMIC" },
};
Expand Down

0 comments on commit 7564463

Please sign in to comment.