Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55e7276e authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm5102: Provide MICSUPP widget for regulator driver

parent 9fc50a2e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1109,6 +1109,8 @@ SND_SOC_DAPM_OUTPUT("SPKOUTRN"),
SND_SOC_DAPM_OUTPUT("SPKOUTRP"),
SND_SOC_DAPM_OUTPUT("SPKDAT1L"),
SND_SOC_DAPM_OUTPUT("SPKDAT1R"),

SND_SOC_DAPM_OUTPUT("MICSUPP"),
};

#define ARIZONA_MIXER_INPUT_ROUTES(name)	\
@@ -1321,6 +1323,8 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = {
	{ "AEC Loopback", "SPKDAT1R", "OUT5R" },
	{ "SPKDAT1L", NULL, "OUT5L" },
	{ "SPKDAT1R", NULL, "OUT5R" },

	{ "MICSUPP", NULL, "SYSCLK" },
};

static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source,