Skip to content

Commit b793eb6

Browse files
committed
ASoC: Correct WM8994 MICBIAS supply widget hookup
The WM8994 and WM8958 series of devices have two MICBIAS supplies rather than one, the current widget actually manages the microphone detection control register bit (which is managed separately by the relevant API). Fix this, hooking the relevant supplies up to the MICBIAS1 and MICBIAS2 widgets. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
1 parent b35e160 commit b793eb6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sound/soc/codecs/wm8994.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,6 @@ SND_SOC_DAPM_INPUT("DMIC1DAT"),
11901190
SND_SOC_DAPM_INPUT("DMIC2DAT"),
11911191
SND_SOC_DAPM_INPUT("Clock"),
11921192

1193-
SND_SOC_DAPM_MICBIAS("MICBIAS", WM8994_MICBIAS, 2, 0),
11941193
SND_SOC_DAPM_SUPPLY_S("MICBIAS Supply", 1, SND_SOC_NOPM, 0, 0, micbias_ev,
11951194
SND_SOC_DAPM_PRE_PMU),
11961195

@@ -1509,8 +1508,10 @@ static const struct snd_soc_dapm_route wm8994_revd_intercon[] = {
15091508
{ "AIF2DACDAT", NULL, "AIF1DACDAT" },
15101509
{ "AIF1ADCDAT", NULL, "AIF2ADCDAT" },
15111510
{ "AIF2ADCDAT", NULL, "AIF1ADCDAT" },
1512-
{ "MICBIAS", NULL, "CLK_SYS" },
1513-
{ "MICBIAS", NULL, "MICBIAS Supply" },
1511+
{ "MICBIAS1", NULL, "CLK_SYS" },
1512+
{ "MICBIAS1", NULL, "MICBIAS Supply" },
1513+
{ "MICBIAS2", NULL, "CLK_SYS" },
1514+
{ "MICBIAS2", NULL, "MICBIAS Supply" },
15141515
};
15151516

15161517
static const struct snd_soc_dapm_route wm8994_intercon[] = {

0 commit comments

Comments
 (0)