]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: acpi: fix machine driver selection based on quirk
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 5 Jan 2018 20:55:33 +0000 (14:55 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 12:17:44 +0000 (12:17 +0000)
commit51c4b5fb3e7c1c64b317b189dbe1bf5160915466
treeae65bbe4103c426964484bc22245ba9dc1371dce
parente44e6dbeeac306ad5a2946f9c29500f1449e62c9
ASoC: acpi: fix machine driver selection based on quirk

The ACPI/machine-driver code refactoring introduced in 4.13 introduced
a regression for cases where we need a DMI-based quirk to select the
machine driver (the BIOS reports an invalid HID). The fix is just to
make sure the results of the quirk are actually used.

Fixes: 185b975e4f08 ('ASoC: Improve machine driver selection based on quirk data')
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=96691
Tested-by: Nicole Færber <nicole.faerber@dpin.de>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/soc-acpi.c