linux_dsm_epyc7002/sound/soc/intel
Yong Zhi 12eeeb4f47
ASoC: Intel: Skylake: Acquire irq after RIRB allocation
Cold reboot stress test found that the hda irq could access rirb ring
buffer before its memory gets allocated which resulting in null
pointer dereference inside snd_hdac_bus_update_rirb().

Fix it by moving the skl_acquire_irq after ring buffer allocation.
While here, also change err return from -EBUSY to actual error code.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-08-14 16:21:13 +01:00
..
atom ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32 2018-07-25 17:21:22 +01:00
baytrail ASoC: intel: baytrail: replace platform to component 2018-02-12 11:45:10 +00:00
boards ASoC: Intel: bytcr_rt5640: Add quirks for 2 more devices 2018-08-14 15:06:35 +01:00
common ASoC: Intel: common: make sst_dma functions static 2018-07-25 17:21:15 +01:00
haswell ASoC: Intel: Haswell: fix endianness handling 2018-07-25 17:21:07 +01:00
skylake ASoC: Intel: Skylake: Acquire irq after RIRB allocation 2018-08-14 16:21:13 +01:00
Kconfig ASoC: Intel: Disable SND_SOC_INTEL_BAYTRAIL when SND_SST_ATOM_HIFI2_PLATFORM is enabled 2018-04-19 13:12:36 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00