]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: core: support driver alias names for FE topology overrides
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 2 Mar 2019 01:08:51 +0000 (19:08 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2019 05:57:25 +0000 (12:57 +0700)
commite194098bf9098083f8ae9687924a6878540f8561
tree87cb10b8f7db3cb8b382b0ab0f2dc09fd96d3d0e
parentcce1396936ef2b347d622b4d49718818eb32029d
ASoC: core: support driver alias names for FE topology overrides

When the same machine driver is reused between platforms but with a
different alias, using the driver name is not enough. Add additional
fallback case to use the card device name.

Tested on GeminiLake with bxt_da7219_max98357a machine driver

Suggested-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c