From 006ee15c237df7bd414e1865638e058017297d48 Mon Sep 17 00:00:00 2001 From: Mohan Kumar Date: Tue, 19 Mar 2019 14:49:41 +0530 Subject: [PATCH] ASoC: tegra-alt: stop adsp os during shutdown The ADSP OS needs to be stopped during the flow of shutdown callback of the system. Keeping the ADSP OS booted and in suspend mode during the shutdown callback resulting in mc_err. Bug 200499707 Change-Id: I80d0c7096b71e953143f70667cec936e6b787db8 Signed-off-by: Mohan Kumar Reviewed-on: https://git-master.nvidia.com/r/2076325 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sameer Pujar GVS: Gerrit_Virtual_Submit Reviewed-by: Sharad Gupta Reviewed-by: mobile promotions Tested-by: mobile promotions --- sound/soc/tegra-alt/tegra210_adsp_alt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/tegra-alt/tegra210_adsp_alt.c b/sound/soc/tegra-alt/tegra210_adsp_alt.c index 21bd4c0f..f65bdc28 100644 --- a/sound/soc/tegra-alt/tegra210_adsp_alt.c +++ b/sound/soc/tegra-alt/tegra210_adsp_alt.c @@ -4766,6 +4766,7 @@ static void tegra210_adsp_audio_platform_shutdown( { struct tegra210_adsp *adsp = dev_get_drvdata(&pdev->dev); + tegra210_adsp_deinit(adsp); adsp->is_shutdown = true; }