]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: sun8i-codec: Fix space on audio-routing widget
authorMylène Josserand <mylene.josserand@free-electrons.com>
Thu, 9 Mar 2017 09:56:00 +0000 (10:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 18:10:51 +0000 (18:10 +0000)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c

index a75a983974d922b4b136766c464281a86d89e0d8..90cda95695033d806ae9fd98fa490d028dc5cf1b 100644 (file)
@@ -335,7 +335,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"},
 };