[PATCH 3/3] ASoC: amd: return error when acp de-init fails
Vijendar Mukunda
Vijendar.Mukunda at amd.com
Tue May 19 16:34:22 CEST 2020
Return error when acp de-init fails during suspend.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda at amd.com>
---
sound/soc/amd/renoir/rn-pci-acp3x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index 502c3f794ba0..859ed67b93cf 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -277,7 +277,7 @@ static int snd_rn_acp_suspend(struct device *dev)
else
dev_dbg(dev, "ACP de-initialized\n");
- return 0;
+ return ret;
}
static int snd_rn_acp_resume(struct device *dev)
--
2.26.2
More information about the Alsa-devel
mailing list