Commit 868d5c63 authored by Thierry Reding's avatar Thierry Reding Committed by Mark Brown

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: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210330180657.1867971-1-thierry.reding@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 50cbf945
...@@ -198,6 +198,7 @@ static int tegra_audio_graph_probe(struct platform_device *pdev) ...@@ -198,6 +198,7 @@ static int tegra_audio_graph_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
card = simple_priv_to_card(&priv->simple); card = simple_priv_to_card(&priv->simple);
card->driver_name = "tegra-ape";
card->probe = tegra_audio_graph_card_probe; card->probe = tegra_audio_graph_card_probe;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment