Skip to content
Commit 04b52388 authored by Vijendar Mukunda's avatar Vijendar Mukunda Committed by Greg Kroah-Hartman
Browse files

ASoC: amd: acp: fix for acp_init function error handling



[ Upstream commit 2c603a49 ]

If acp_init() fails, acp pci driver probe should return error.
Add acp_init() function return value check logic.

Fixes: e61b4155 ("ASoC: amd: acp: refactor the acp init and de-init sequence")
Signed-off-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20240329053815.2373979-1-Vijendar.Mukunda@amd.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3d3e148c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment