summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_wm8753.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-05-29 17:46:46 +0200
committerMark Brown <broonie@kernel.org>2021-06-15 12:43:09 +0200
commitf6eb84fa596abf28959fc7e0b626f925eb1196c7 (patch)
tree6c5db97dbb5b3d99df7083d377b3d726ed9887df /sound/soc/tegra/tegra_wm8753.c
parentASoC: fsl_spdif: Remove superfluous error message around platform_get_irq() (diff)
downloadlinux-f6eb84fa596abf28959fc7e0b626f925eb1196c7.tar.xz
linux-f6eb84fa596abf28959fc7e0b626f925eb1196c7.zip
ASoC: tegra: Set driver_name=tegra for all machine drivers
The driver_name="tegra" is now required by the newer ALSA UCMs, otherwise Tegra UCMs don't match by the path/name. All Tegra machine drivers are specifying the card's name, but it has no effect if model name is specified in the device-tree since it overrides the card's name. We need to set the driver_name to "tegra" in order to get a usable lookup path for the updated ALSA UCMs. The new UCM lookup path has a form of driver_name/card_name. The old lookup paths that are based on driver module name continue to work as before. Note that UCM matching never worked for Tegra ASoC drivers if they were compiled as built-in, this is fixed by supporting the new naming scheme. Cc: stable@vger.kernel.org Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20210529154649.25936-2-digetx@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra_wm8753.c')
-rw-r--r--sound/soc/tegra/tegra_wm8753.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c
index efd793886689..27089077f2ea 100644
--- a/sound/soc/tegra/tegra_wm8753.c
+++ b/sound/soc/tegra/tegra_wm8753.c
@@ -101,6 +101,7 @@ static struct snd_soc_dai_link tegra_wm8753_dai = {
static struct snd_soc_card snd_soc_tegra_wm8753 = {
.name = "tegra-wm8753",
+ .driver_name = "tegra",
.owner = THIS_MODULE,
.dai_link = &tegra_wm8753_dai,
.num_links = 1,