ASoC: Intel: kbl: fix jack name
authorVinod Koul <vinod.koul@intel.com>
Tue, 31 Oct 2017 11:17:27 +0000 (16:47 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 31 Oct 2017 11:15:24 +0000 (11:15 +0000)
Commit d1c4cb447a7e ("ASoC: Intel: Skylake: Fix jack name format
substitution") added Jack name but erroneously added a space as well,
so remove the space in Jack name.

Fixes: d1c4cb447a7e ("ASoC: Intel: Skylake: Fix jack name format substitution")
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

index 9cd0769ccd347c66c4fd65ea0f2d1e1b14df2a55..69ab559564921c4a5670bb519a4c9d80058d418b 100644 (file)
@@ -605,7 +605,7 @@ static int kabylake_card_late_probe(struct snd_soc_card *card)
        list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) {
                codec = pcm->codec_dai->codec;
                snprintf(jack_name, sizeof(jack_name),
-                       "HDMI/DP, pcm=%d Jack", pcm->device);
+                       "HDMI/DP,pcm=%d Jack", pcm->device);
                err = snd_soc_card_jack_new(card, jack_name,
                                SND_JACK_AVOUT, &ctx->kabylake_hdmi[i],
                                NULL, 0);