android_kernel_xiaomi_sm7250/sound/soc/tegra
Dmitry Osipenko 4587b66598 ASoC: tegra: Set driver_name=tegra for all machine drivers
commit f6eb84fa596abf28959fc7e0b626f925eb1196c7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-20 16:16:04 +02:00
..
Kconfig
Makefile
tegra20_ac97.c
tegra20_ac97.h
tegra20_das.c
tegra20_das.h
tegra20_i2s.c
tegra20_i2s.h
tegra20_spdif.c
tegra20_spdif.h
tegra30_ahub.c ASoC: tegra: Fix reference count leaks. 2020-09-03 11:24:18 +02:00
tegra30_ahub.h
tegra30_i2s.c ASoC: tegra: Fix reference count leaks. 2020-09-03 11:24:18 +02:00
tegra30_i2s.h
tegra_alc5632.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_asoc_utils.c
tegra_asoc_utils.h
tegra_max98090.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_pcm.c
tegra_pcm.h
tegra_rt5640.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_rt5677.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_sgtl5000.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_wm8753.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_wm8903.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
tegra_wm9712.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00
trimslice.c ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:16:04 +02:00