OpenCloudOS-Kernel/sound/soc/amd
Guenter Roeck fdaa451107
ASoC: amd: Add error checking to probe function
The acp_audio_dma does not perform sufficient error checking in its probe
function. This can result in crashes if a critical error path is
encountered.

Fixes: 7c31335a03 ("ASoC: AMD: add AMD ASoC ACP 2.x DMA driver")
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Dominik Behr <dbehr@chromium.org>
Cc: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-27 16:30:54 +00:00
..
include ASoC: AMD : add ACP 2.2 register headers 2016-01-10 12:44:10 +00:00
Kconfig ASoC: AMD: Add machine driver for cz rt5650 2017-10-19 19:46:02 +01:00
Makefile ASoC: amd: Make the driver name consistent across files 2017-11-08 18:32:46 +00:00
acp-pcm-dma.c ASoC: amd: Add error checking to probe function 2017-11-27 16:30:54 +00:00
acp-rt5645.c ASoC: AMD: Add machine driver for cz rt5650 2017-10-19 19:46:02 +01:00
acp.h Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic/amd' and 'asoc/topic/arizona-mfd' into asoc-next 2017-11-10 21:31:02 +00:00