Skip to content

Commit 37e6fd0

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: wm8974: Correct boost mixer inputs
Bit 6 of INPPGA (INPPGAMUTE) does not control the Aux path, it controls the input PGA path, as can been seen from Figure 8 Input Boost Stage in the datasheet. Update the naming of things in the driver to match this and update the routing to also reflect this. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20231113155916.1741027-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0c6498a commit 37e6fd0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/codecs/wm8974.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ SOC_DAPM_SINGLE("PCM Playback Switch", WM8974_MONOMIX, 0, 1, 0),
186186

187187
/* Boost mixer */
188188
static const struct snd_kcontrol_new wm8974_boost_mixer[] = {
189-
SOC_DAPM_SINGLE("Aux Switch", WM8974_INPPGA, 6, 1, 1),
189+
SOC_DAPM_SINGLE("PGA Switch", WM8974_INPPGA, 6, 1, 1),
190190
};
191191

192192
/* Input PGA */
@@ -246,8 +246,8 @@ static const struct snd_soc_dapm_route wm8974_dapm_routes[] = {
246246

247247
/* Boost Mixer */
248248
{"ADC", NULL, "Boost Mixer"},
249-
{"Boost Mixer", "Aux Switch", "Aux Input"},
250-
{"Boost Mixer", NULL, "Input PGA"},
249+
{"Boost Mixer", NULL, "Aux Input"},
250+
{"Boost Mixer", "PGA Switch", "Input PGA"},
251251
{"Boost Mixer", NULL, "MICP"},
252252

253253
/* Input PGA */

0 commit comments

Comments
 (0)