]> 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)
commitbea7bbe38aa42474087e7760d8e7978fae609c3d
treedaaa9d8e5c4caa23b71bf4a57c783a8ebc8b1e6f
parentba8f571b4a59e53b368e1caa15346bad0893797e
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