linux/sound/soc/intel/skylake
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
..
bxt-sst.c ASoC: Intel: Skylake: Request IRQ late only after all context are initialized 2017-12-20 10:48:06 +00:00
cnl-sst-dsp.c ASoC: Intel: cnl: Add cnl dsp functions and registers 2017-08-03 11:07:23 +01:00
cnl-sst-dsp.h ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
cnl-sst.c ASoC: Intel: Skylake: Request IRQ late only after all context are initialized 2017-12-20 10:48:06 +00:00
Makefile ASoC: Intel: Skylake: Add ssp clock driver 2018-01-26 12:51:21 +00:00
skl-debug.c ASoC: topology: Move skl-tplg-interface.h to uapi 2018-06-01 18:09:17 +01:00
skl-i2s.h ASoC: Intel: Skylake: Add extended I2S config blob support in Clock driver 2018-01-26 12:51:22 +00:00
skl-messages.c ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead 2018-06-28 07:33:29 +02:00
skl-nhlt.c ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead 2018-06-28 07:33:29 +02:00
skl-nhlt.h ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt 2016-05-30 18:16:44 +01:00
skl-pcm.c Merge branch 'topic/drm_audio_component' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-4.19 2018-08-01 10:32:05 +01:00
skl-ssp-clk.c ASoC: Intel: Skylake: make function skl_clk_round_rate static 2018-02-12 09:32:32 +00:00
skl-ssp-clk.h ASoC: Intel: Skylake: Add ssp clock driver 2018-01-26 12:51:21 +00:00
skl-sst-cldma.c ASoC: Intel: Skylake: BDL definitions should be __le32 2018-07-25 17:21:11 +01:00
skl-sst-cldma.h ASoC: Intel: Skylake: BDL definitions should be __le32 2018-07-25 17:21:11 +01:00
skl-sst-dsp.c ASoC: Intel: Skylake: Request IRQ late only after all context are initialized 2017-12-20 10:48:06 +00:00
skl-sst-dsp.h ASoC: Intel: Skylake: Unify the fw ops for SKL and KBL 2018-04-17 11:35:10 +01:00
skl-sst-ipc.c ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-ipc.h ASoC: Intel: Skylake: Disable clock and power gating during FW/LIB download 2018-03-13 09:29:14 -07:00
skl-sst-utils.c Merge branch 'fix/intel' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel 2018-01-08 15:54:50 +00:00
skl-sst.c ASoC: Intel: Skylake: Unify the fw ops for SKL and KBL 2018-04-17 11:35:10 +01:00
skl-topology.c Merge branch 'topic/drm_audio_component' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-4.19 2018-08-01 10:32:05 +01:00
skl-topology.h Merge branch 'topic/drm_audio_component' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-4.19 2018-08-01 10:32:05 +01:00
skl.c ASoC: Intel: Skylake: Acquire irq after RIRB allocation 2018-08-14 16:21:13 +01:00
skl.h ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead 2018-06-28 07:33:29 +02:00