]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc746de8dbc7b0ae9df491f7a99a6dab34203b51b
tree15234fbcfa179084cf2b3065cdd4e1c1c3bcb4b5
parente6b98db945124987b1ecec3f5f030877627e01a9
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