]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: stop probe if HDaudio capabilities don't exist
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 7 Dec 2018 23:50:05 +0000 (17:50 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 15:35:48 +0000 (15:35 +0000)
commit848365bce5a08d672bed6a02ffee565d802f4246
treedaaa9d8e5c4caa23b71bf4a57c783a8ebc8b1e6f
parent5eaf15552d987a9dbf6106341c30955133765893
ASoC: Intel: Skylake: stop probe if HDaudio capabilities don't exist

Check immediately if required HDaudio capabilities can't be found (no
PPCAP or no streams exposed in GCAP), and move all DMA inits after the
error tests.

PPCAP and GCAP are not reliable indicators of DSP presence, but if
they don't exist then the driver will not work.

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