diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2020-05-19 16:34:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-19 20:49:55 +0200 |
commit | ce5955866d971864a6cd8d012411ec96b048a696 (patch) | |
tree | ba6591d0b4d12e6aa96797d18e0411fe1d601164 /sound/soc/amd | |
parent | ASoC: amd: refactoring dai_hw_params() callback (diff) | |
download | linux-ce5955866d971864a6cd8d012411ec96b048a696.tar.xz linux-ce5955866d971864a6cd8d012411ec96b048a696.zip |
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) |