]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel/skl/hda - fix oops on systems without i915 audio codec
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 20 Apr 2020 20:54:31 +0000 (23:54 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2020 18:52:58 +0000 (19:52 +0100)
commit36519492696c4e0d51e5a791c7b83e69d895e558
tree9948c31e63940137608115b9ab14ed467325e768
parentd517e19d821c8f99893e8686695f8da3ca61f4fe
ASoC: intel/skl/hda - fix oops on systems without i915 audio codec

Recent fix for jack detection caused a regression on systems with HDA
audio codec but no HDMI/DP audio via i915 graphics, leading to a kernel
oops at device probe. On these systems, HDA bus instance lookup fails,
as the first ASoC runtime of the card is connected to a dummy codec
(as no HDMI codec is present).

Fixes: 025bb450a5de ("ASoC: intel/skl/hda - set autosuspend timeout for hda codecs")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200420205431.13070-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_hda_dsp_generic.c