From: Thierry Reding Date: Tue, 30 Mar 2021 18:06:57 +0000 (+0200) Subject: ASoC: tegra: Set driver name explicitly X-Git-Tag: v5.15~992^2~1^2~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=868d5c6340d878f44acf73c92923995b896b6454;p=platform%2Fkernel%2Flinux-starfive.git ASoC: tegra: Set driver name explicitly The SoC sound core will generate a driver name by normalizing the card name. However, most of the time that name does not tell anything about the driver and is therefore useless for this purpose. Make the driver name more useful by setting it explicitly during card initialization. Signed-off-by: Thierry Reding Link: https://lore.kernel.org/r/20210330180657.1867971-1-thierry.reding@gmail.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra_audio_graph_card.c b/sound/soc/tegra/tegra_audio_graph_card.c index ddedf18..47b3195 100644 --- a/sound/soc/tegra/tegra_audio_graph_card.c +++ b/sound/soc/tegra/tegra_audio_graph_card.c @@ -198,6 +198,7 @@ static int tegra_audio_graph_probe(struct platform_device *pdev) return -ENOMEM; card = simple_priv_to_card(&priv->simple); + card->driver_name = "tegra-ape"; card->probe = tegra_audio_graph_card_probe;