diff options
author | Yong Zhi <[email protected]> | 2018-08-13 18:15:14 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-08-14 16:21:13 +0100 |
commit | 12eeeb4f4733bbc4481d01df35933fc15beb8b19 (patch) | |
tree | 146bbc33e5d02c825d843917c15fe1d181836122 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | |
parent | fb504caae7ef85be159743bd4b08ecde269ba55f (diff) |
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 <[email protected]>
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions