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 <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2076325
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mohan Kumar
2019-03-19 14:49:41 +05:30
committed by Sameer Pujar
parent cacbb942a8
commit 006ee15c23

View File

@@ -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;
}