diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2020-05-19 22:34:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-19 19:49:55 +0100 |
commit | ce5955866d971864a6cd8d012411ec96b048a696 (patch) | |
tree | ba6591d0b4d12e6aa96797d18e0411fe1d601164 /sound/soc/amd | |
parent | 19cc20bd644f7baf279671c0647ef79c36f259a3 (diff) |
ASoC: amd: return error when acp de-init fails
Return error when acp de-init fails during suspend.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20200519143422.18255-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r-- | sound/soc/amd/renoir/rn-pci-acp3x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |