mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
platform: ape: add adsp sub-domain
Add adsp sub-domain for nvadsp and adsp_audio drivers. This ensures that adsp can be handled differently compared to ape. Bug 200090996 Change-Id: Ic7222606db977c46120370ea98f665fd2ba58ecf Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/735615 (cherry picked from commit 8b5ce0eb1f754373f848892a5c23c82269e18a19) Reviewed-on: http://git-master/r/741162 (cherry picked from commit 195dd00c017abaaa3eecc744f927ac4f9bbac1f9) Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: http://git-master/r/766593
This commit is contained in:
committed by
Sameer Pujar
parent
163bf191d3
commit
953c677578
@@ -2561,7 +2561,7 @@ static int tegra210_adsp_audio_platform_probe(struct platform_device *pdev)
|
||||
goto err_pm_disable;
|
||||
|
||||
/* HACK : Should be handled through dma-engine */
|
||||
tegra_ape_pd_add_device(&pdev->dev);
|
||||
tegra_adsp_pd_add_device(&pdev->dev);
|
||||
pm_genpd_dev_need_save(&pdev->dev, true);
|
||||
pm_genpd_dev_need_restore(&pdev->dev, true);
|
||||
pm_runtime_get_sync(&pdev->dev);
|
||||
@@ -2575,7 +2575,7 @@ static int tegra210_adsp_audio_platform_probe(struct platform_device *pdev)
|
||||
}
|
||||
}
|
||||
pm_runtime_put(&pdev->dev);
|
||||
tegra_ape_pd_remove_device(&pdev->dev);
|
||||
tegra_adsp_pd_remove_device(&pdev->dev);
|
||||
/* HACK end */
|
||||
|
||||
for (i = 0; i < TEGRA210_ADSP_VIRT_REG_MAX; i++)
|
||||
|
||||
Reference in New Issue
Block a user