Commit ce595586 authored by Vijendar Mukunda's avatar Vijendar Mukunda Committed by Mark Brown

ASoC: amd: return error when acp de-init fails

Return error when acp de-init fails during suspend.
Signed-off-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20200519143422.18255-3-Vijendar.Mukunda@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 19cc20bd
...@@ -277,7 +277,7 @@ static int snd_rn_acp_suspend(struct device *dev) ...@@ -277,7 +277,7 @@ static int snd_rn_acp_suspend(struct device *dev)
else else
dev_dbg(dev, "ACP de-initialized\n"); dev_dbg(dev, "ACP de-initialized\n");
return 0; return ret;
} }
static int snd_rn_acp_resume(struct device *dev) static int snd_rn_acp_resume(struct device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment