linux/sound/soc/intel
Mateusz Gorski 5610921a44
ASoC: Intel: skl_hda_dsp_generic: Fix NULLptr dereference in autosuspend delay
Different modules for HDMI codec are used depending on the
"hda_codec_use_common_hdmi" option being enabled or not. Driver private
context for both of them is different.
This leads to null-pointer dereference error when driver tries to set
autosuspend delay for HDMI codec while the option is off (hdac_hdmi
module is used for HDMI).

Change the string in conditional statement to "ehdaudio0D0" to ensure
that only the HDAudio codec is handled by this function.

Fixes: 5bf73b1b1d ("ASoC: intel/skl/hda - fix oops on systems without i915 audio codec")
Signed-off-by: Mateusz Gorski <mateusz.gorski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200722173524.30161-1-mateusz.gorski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-08-19 12:12:53 +01:00
..
atom ASoC: intel: Fix memleak in sst_media_open 2020-08-17 12:28:57 +01:00
baytrail ASoC: intel: use asoc_substream_to_rtd() 2020-07-27 14:00:23 +01:00
boards ASoC: Intel: skl_hda_dsp_generic: Fix NULLptr dereference in autosuspend delay 2020-08-19 12:12:53 +01:00
common Merge series "ASoC: Intel: machine driver updates for 5.9" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-20 15:34:31 +01:00
haswell ASoC: intel: use asoc_substream_to_rtd() 2020-07-27 14:00:23 +01:00
keembay ASoC: Intel: KMB: Rework disable channel function 2020-07-30 20:13:41 +01:00
skylake ASoC: Intel: drop unnecessary list_empty 2020-07-30 22:38:39 +01:00
Kconfig ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00
Makefile ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00