Skip to contentSkip to conversation

ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route

PATCH RESEND Superseded Chen-Yu Tsai 3 participants 3 messages Nov 24, 2016 – Nov 25, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND v3 1/1 ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route

The mono differential output for "Line Out" downmixes the stereo audio from the mixer, instead of just taking the left channel.

Add a route from the "Right Mixer" to "Line Out Source Playback Route" through the "Mono Differential" path, so DAPM doesn't shut down everything if the left channel is muted.

Fixes 0f909f98d7cb ("ASoC: sun4i-codec: Add support for A31 Line Out

playback")

---

This patch seems to have fallen through the cracks.

---
 sound/soc/sunxi/sun4i-codec.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/sunxi/sun4i-codec.c +1 -0
index 092fdcf6de95..b11b0ad4dfbe 100644
@@ -1047,6 +1047,7 @@ static const struct snd_soc_dapm_route sun6i_codec_codec_dapm_routes[] = {
 	{ "Line Out Source Playback Route", "Stereo", "Left Mixer" },
 	{ "Line Out Source Playback Route", "Stereo", "Right Mixer" },
 	{ "Line Out Source Playback Route", "Mono Differential", "Left Mixer" },
+	{ "Line Out Source Playback Route", "Mono Differential", "Right Mixer" },
 	{ "LINEOUT", NULL, "Line Out Source Playback Route" },
 
 	/* ADC Routes */
Signature · 1 line
2.10.2
maintainer
#1 lore raw
Quoted 1 line · Chen-Yu Tsai

This patch seems to have fallen through the cracks.

No, nobody has reviewed it and normally there's some review for sunxi patches.

Acked-by on v3 1/1
#2 lore raw
In reply to Chen-Yu Tsai
Quoted 10 lines · Chen-Yu Tsai

The mono differential output for "Line Out" downmixes the stereo audio from the mixer, instead of just taking the left channel.

Add a route from the "Right Mixer" to "Line Out Source Playback Route" through the "Mono Differential" path, so DAPM doesn't shut down everything if the left channel is muted.

Fixes 0f909f98d7cb ("ASoC: sun4i-codec: Add support for A31 Line Out

playback")

Thanks,
Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com