]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: common: work-around incorrect ACPI HID for CML boards
authorAmery Song <chao.song@intel.com>
Tue, 10 Dec 2019 00:48:54 +0000 (18:48 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 10 Dec 2019 13:11:50 +0000 (13:11 +0000)
commita76c1eae79b38093aaa06690ee8c9fa8a32b6fc6
treefa516003e37f0c47f2d2b0115dd6d71a89b5fa78
parentc29f9238737ab01ef1380408288b91c2ff7182a9
ASoC: Intel: common: work-around incorrect ACPI HID for CML boards

On CML boards with the RT5682 headset codec and RT1011 speaker
amplifier, the platform firmware exposes three ACPI HIDs
(10EC568210EC1011 and MX98357A). The last HID is a mistake in
DSDT tables, which causes the wrong machine driver to be loaded.

This patch changes the key used to identify boards and changes the
order of entries in the table to load the correct machine driver.
The order does matter and should not be modified to work-around this
firmware issue.

Signed-off-by: Amery Song <chao.song@intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191210004854.16845-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-cml-match.c