diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-05-29 18:46:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-15 13:43:09 +0300 |
commit | f6eb84fa596abf28959fc7e0b626f925eb1196c7 (patch) | |
tree | 6c5db97dbb5b3d99df7083d377b3d726ed9887df /sound/soc/tegra/tegra_rt5677.c | |
parent | 2e8a8adb96a335a04f1697dd4314f5569521328f (diff) | |
download | linux-f6eb84fa596abf28959fc7e0b626f925eb1196c7.tar.xz |
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_rt5677.c')
-rw-r--r-- | sound/soc/tegra/tegra_rt5677.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_rt5677.c b/sound/soc/tegra/tegra_rt5677.c index d30f8b6deda4..0f03e97d9355 100644 --- a/sound/soc/tegra/tegra_rt5677.c +++ b/sound/soc/tegra/tegra_rt5677.c @@ -175,6 +175,7 @@ static struct snd_soc_dai_link tegra_rt5677_dai = { static struct snd_soc_card snd_soc_tegra_rt5677 = { .name = "tegra-rt5677", + .driver_name = "tegra", .owner = THIS_MODULE, .dai_link = &tegra_rt5677_dai, .num_links = 1, |