[PATCH] ASoC: ak4535: Fix AUX input DAPM routes

From: Zhu Jun

Date: Thu Nov 19 2026 - 02:57:30 EST


The AUX input PGA is named "AUX In", but the route from the AUX pin
and the Aux Capture Switch route refer to "Aux In". DAPM matches
widget names case sensitively, so it cannot add either route.

Use the existing widget name in both routes to connect the AUX input
to the capture mixer and complete the path to the bypass mixer.

Fixes: 796d2ca84859 ("ALSA: ASoC: Add AK4535 driver")
Signed-off-by: Zhu Jun <zhujun2@xxxxxxxxxxxxxxxxxxxx>
---
sound/soc/codecs/ak4535.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/ak4535.c b/sound/soc/codecs/ak4535.c
index 66ca753e7651..ce877d995690 100644
--- a/sound/soc/codecs/ak4535.c
+++ b/sound/soc/codecs/ak4535.c
@@ -237,12 +237,12 @@ static const struct snd_soc_dapm_route ak4535_audio_map[] = {
{"Mono 2 Enable", "Switch", "Stereo Mixer"},

/* Aux In */
- {"Aux In", NULL, "AUX"},
+ {"AUX In", NULL, "AUX"},

/* ADC */
{"ADC", NULL, "Input Mixer"},
{"Input Mixer", "Mic Capture Switch", "Mic"},
- {"Input Mixer", "Aux Capture Switch", "Aux In"},
+ {"Input Mixer", "Aux Capture Switch", "AUX In"},
};

static int ak4535_set_dai_sysclk(struct snd_soc_dai *codec_dai,