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

BugLink: https://bugs.launchpad.net/bugs/1881046

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>
(cherry picked from commit ce5955866d linux-next)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Acked-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
This commit is contained in:
Vijendar Mukunda 2020-06-01 10:18:45 +08:00 committed by Marcelo Henrique Cerri
parent 9fb929ea92
commit 465d679027
1 changed files with 1 additions and 1 deletions

View File

@ -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)