aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-12-22 23:00:17 +0100
committerMark Brown <broonie@kernel.org>2015-12-22 23:53:48 +0000
commit6b803c611c66debd6fc454c9ed049822994a5885 (patch)
treead04fd59bf793d0f246b4ce53b138fdb5de02c31
parent405926276bfb316915c16e57a3943eb2cf4dd8fa (diff)
downloadsound-unstable-6b803c611c66debd6fc454c9ed049822994a5885.tar.gz
ASoC: sun4i-codec: Use proper output for external amp routes
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>
-rw-r--r--sound/soc/sunxi/sun4i-codec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index e6cc6a14718a45..44f170c73b06a9 100644
--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -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)