]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Add alternative topology binary name
authorMateusz Gorski <mateusz.gorski@linux.intel.com>
Mon, 27 Apr 2020 13:27:25 +0000 (15:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2020 15:02:24 +0000 (16:02 +0100)
commit763f73df3023620c7f1e530d29dcd5f093dd9255
treecfc52dcc52af934917ec3580c71481f9fc5b749b
parent3718fb1b1b9d7fe507e70a02f6b0041bebeb99b9
ASoC: Intel: Skylake: Add alternative topology binary name

Add alternative topology binary file name based on used machine driver
and fallback to use this name after failed attempt to load topology file
with name based on NHLT.
This change addresses multiple issues with current mechanism, for
example - there are devices without NHLT table, and that currently
results in tplg_name being empty.

Signed-off-by: Mateusz Gorski <mateusz.gorski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200427132727.24942-2-mateusz.gorski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c