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: 7c31335a03b6a ("ASoC: AMD: add AMD ASoC ACP 2.x DMA driver")
Cc: Alex Deucher <[email protected]>
Cc: Dominik Behr <[email protected]>
Cc: Daniel Kurtz <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Mark Brown <[email protected]>