* [PATCH] ASoC: tegra: Set driver name explicitly
@ 2021-03-30 18:06 Thierry Reding
2021-04-01 10:16 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2021-03-30 18:06 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown
Cc: Jon Hunter, Sameer Pujar, Kuninori Morimoto, alsa-devel,
linux-tegra
From: Thierry Reding <treding@nvidia.com>
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>
---
sound/soc/tegra/tegra_audio_graph_card.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: tegra: Set driver name explicitly
2021-03-30 18:06 [PATCH] ASoC: tegra: Set driver name explicitly Thierry Reding
@ 2021-04-01 10:16 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-04-01 10:16 UTC (permalink / raw)
To: Liam Girdwood, Thierry Reding
Cc: Mark Brown, Sameer Pujar, Jon Hunter, Kuninori Morimoto,
linux-tegra, alsa-devel
On Tue, 30 Mar 2021 20:06:57 +0200, Thierry Reding wrote:
> 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.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: tegra: Set driver name explicitly
commit: 868d5c6340d878f44acf73c92923995b896b6454
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-01 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-30 18:06 [PATCH] ASoC: tegra: Set driver name explicitly Thierry Reding
2021-04-01 10:16 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).