]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Harden DSP detection with PCI class/subclass info
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 7 Dec 2018 23:50:04 +0000 (17:50 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 15:35:33 +0000 (15:35 +0000)
commitba8f571b4a59e53b368e1caa15346bad0893797e
tree15234fbcfa179084cf2b3065cdd4e1c1c3bcb4b5
parentb340725ed686301b403298b006849aadcd25b1e1
ASoC: Intel: Skylake: Harden DSP detection with PCI class/subclass info

The existing PPCAP and GCAP fields cannot be used reliably to
determine if the DSP is enabled by the BIOS. Instead rely on the
class/subclass information to find out if this driver can run or
not. The values in the code don't seem to be documented in publicly
available documents but are part of recommendations made to BIOS
writers and have been verified to be accurate on a number of
platforms.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c