Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: audio-graph-card2-custom-sample.dtsi: use card->name to avoid long name

Current Card2 Custom Sample will be too long Card name, and be error

audio-graph-card2-custom-sample audio-graph-card2-custom-sample \
ASoC: driver name too long \
audio-graph-card2-custom-sample' -> 'audio-graph-car'

This patch uses short name to avoid it

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87bkke7qzf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
ad58151f 65d4d725

+3
+3
sound/soc/generic/audio-graph-card2-custom-sample.c
··· 151 151 simple_priv = &custom_priv->simple_priv; 152 152 simple_priv->ops = &custom_ops; /* customize dai_link ops */ 153 153 154 + /* "audio-graph-card2-custom-sample" is too long */ 155 + simple_priv->snd_card.name = "card2-custom"; 156 + 154 157 /* use audio-graph-card2 parsing with own custom hooks */ 155 158 ret = audio_graph2_parse_of(simple_priv, dev, &custom_hooks); 156 159 if (ret < 0)