diff options
author | Thierry Reding <treding@nvidia.com> | 2021-03-30 20:06:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-31 13:52:48 +0100 |
commit | 868d5c6340d878f44acf73c92923995b896b6454 (patch) | |
tree | f3f950795b25ac78148effba05d8344ed0c4c608 /sound/soc/tegra | |
parent | 50cbf945566b7cdb186c80c389bdfe22850d8d29 (diff) |
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 <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210330180657.1867971-1-thierry.reding@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_audio_graph_card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_audio_graph_card.c b/sound/soc/tegra/tegra_audio_graph_card.c index ddedf18adde1..47b319504c8c 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; |