Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1603733

[PATCH v3 3/5] ASoC: sun8i-codec: Fix space on audio-routing widget

From Mylène Josserand <mylene.josserand@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v3 3/5] ASoC: sun8i-codec: Fix space on audio-routing widget
Date 2017-03-18 09:00 +0100
Message-ID <tmhrj-30E-7@gated-at.bofh.it> (permalink)
References <tmhrj-30E-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


An unwanted space is present in an audio widget's name on the dapm
routing. It causes an error on the recognition of this widget (error:
("no dapm match for AIF1 Slot 0 Right").

Remove the space fixes it.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
---
 sound/soc/sunxi/sun8i-codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 107fa8213600..adb13fbd2006 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -337,7 +337,7 @@ static const struct snd_soc_dapm_route sun8i_codec_dapm_routes[] = {
 	/* DAC Mixer Routes */
 	{ "Left Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch",
 	  "Digital Left DAC"},
-	{ "Right Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch ",
+	{ "Right Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch",
 	  "Digital Right DAC"},
 };
 
-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 3/5] ASoC: sun8i-codec: Fix space on audio-routing widget Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-03-18 09:00 +0100
  Re: [PATCH v3 3/5] ASoC: sun8i-codec: Fix space on audio-routing widget Chen-Yu Tsai <wens@csie.org> - 2017-03-20 12:50 +0100

csiph-web