]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Check for NHLT ACPI header signature
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Tue, 7 Nov 2017 10:46:21 +0000 (16:16 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 8 Nov 2017 18:56:21 +0000 (18:56 +0000)
commit3b47c9dc75be097bc0e2f3ac4b176fbf3eed85f2
tree1274157fa5fea9715a5af8a2e57be3cd047f6704
parentf8e066521192c7debe59127d90abbe2773577e25
ASoC: Intel: Skylake: Check for NHLT ACPI header signature

In certain buggy BIOS acpi_evaluate_dsm() may not return the correct
NHLT table, so check the NHLT table header signature before accessing
it.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-nhlt.c