Skip to content

Commit 524d3f1

Browse files
pfiserbroonie
authored andcommitted
ASoC: ti: omap-hdmi: Fix too long driver name
Set driver name to "HDMI". This simplifies the code and gets rid of the following error messages: ASoC: driver name too long 'HDMI 58040000.encoder' -> 'HDMI_58040000_e' Signed-off-by: Primoz Fiser <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b9dd212 commit 524d3f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sound/soc/ti/omap-hdmi.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,7 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
354354
if (!card)
355355
return -ENOMEM;
356356

357-
card->name = devm_kasprintf(dev, GFP_KERNEL,
358-
"HDMI %s", dev_name(ad->dssdev));
359-
if (!card->name)
360-
return -ENOMEM;
361-
357+
card->name = "HDMI";
362358
card->owner = THIS_MODULE;
363359
card->dai_link =
364360
devm_kzalloc(dev, sizeof(*(card->dai_link)), GFP_KERNEL);

0 commit comments

Comments
 (0)