diff mbox series

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

Message ID 87bkke7qzf.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit ad58151fa04280a938c173bcba05ba42a4073d92
Headers show
Series ASoC: audio-graph-card2-custom-sample.dtsi: use card->name to avoid long name | expand

Commit Message

Kuninori Morimoto March 27, 2023, 4:33 a.m. UTC
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>
---
 sound/soc/generic/audio-graph-card2-custom-sample.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Mark Brown March 27, 2023, 2:38 p.m. UTC | #1
On Mon, 27 Mar 2023 04:33:41 +0000, Kuninori Morimoto wrote:
> 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
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/1] ASoC: audio-graph-card2-custom-sample.dtsi: use card->name to avoid long name
      commit: ad58151fa04280a938c173bcba05ba42a4073d92

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/generic/audio-graph-card2-custom-sample.c b/sound/soc/generic/audio-graph-card2-custom-sample.c
index 4a2c743e286c..a3142be9323e 100644
--- a/sound/soc/generic/audio-graph-card2-custom-sample.c
+++ b/sound/soc/generic/audio-graph-card2-custom-sample.c
@@ -151,6 +151,9 @@  static int custom_probe(struct platform_device *pdev)
 	simple_priv		= &custom_priv->simple_priv;
 	simple_priv->ops	= &custom_ops; /* customize dai_link ops */
 
+	/* "audio-graph-card2-custom-sample" is too long */
+	simple_priv->snd_card.name = "card2-custom";
+
 	/* use audio-graph-card2 parsing with own custom hooks */
 	ret = audio_graph2_parse_of(simple_priv, dev, &custom_hooks);
 	if (ret < 0)