ASoC: sun4i-codec: Use proper output for external amp routes
authorHans de Goede <hdegoede@redhat.com>
Tue, 22 Dec 2015 22:00:17 +0000 (23:00 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 22 Dec 2015 23:53:48 +0000 (23:53 +0000)
An external amp (if any) is connected to the external outputs of the SoC
of course, rather then directly to the internal amp.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c

index e6cc6a14718a45fb5a4b304fddb51103108bfc52..44f170c73b06a95a71d3b1a1680db37a8fb227f8 100644 (file)
@@ -728,7 +728,8 @@ static const struct snd_soc_dapm_widget sun4i_codec_card_dapm_widgets[] = {
 };
 
 static const struct snd_soc_dapm_route sun4i_codec_card_dapm_routes[] = {
-       { "Speaker", NULL, "Power Amplifier" },
+       { "Speaker", NULL, "HP Right" },
+       { "Speaker", NULL, "HP Left" },
 };
 
 static struct snd_soc_card *sun4i_codec_create_card(struct device *dev)