]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: sun8i-codec: Fix space on audio-routing widget
authorMylène Josserand <mylene.josserand@free-electrons.com>
Sat, 18 Mar 2017 07:55:07 +0000 (08:55 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 21 Mar 2017 12:16:25 +0000 (12:16 +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>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c

index 107fa82136003f6c24f684ed6057e7c6531858ad..adb13fbd2006287aec72407b41a8927e0dab1580 100644 (file)
@@ -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"},
 };