diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-07-16 14:04:34 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:33:18 -0700 |
commit | 813de77c92220338003643231df766bc8c67386c (patch) | |
tree | 9ae004f48ff8a22d2a5b810e43b654554c6e06eb /drivers/dma | |
parent | 55bf1772d1940976995ceac3b7ad4eea5c460d85 (diff) |
dma: tegra: add dma device to MC clock domain
Bug 1307958
Change-Id: I9bfc27dc81cdb3dd745bbf68372e924be752f717
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/252273
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/tegra20-apb-dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index c5e8939d427b..abf696b71040 100644 --- a/drivers/dma/tegra20-apb-dma.c +++ b/drivers/dma/tegra20-apb-dma.c @@ -1494,6 +1494,7 @@ err_pm_disable: pm_runtime_disable(&pdev->dev); if (!pm_runtime_status_suspended(&pdev->dev)) tegra_dma_runtime_suspend(&pdev->dev); + tegra_pd_remove_device(&pdev->dev); return ret; } @@ -1514,6 +1515,7 @@ static int tegra_dma_remove(struct platform_device *pdev) if (!pm_runtime_status_suspended(&pdev->dev)) tegra_dma_runtime_suspend(&pdev->dev); + tegra_pd_remove_device(&pdev->dev); return 0; } |