aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-07-11 02:39:03 -0400
committerThierry Reding <treding@nvidia.com>2014-08-04 04:07:38 -0400
commit5482d75a6597de97f79255a257c486a6960c6c65 (patch)
tree2be0b5e924f29faead14618f698e1d2329b4edf4 /drivers/gpu
parentd1f3e1e0b38d49cbb996dcf0fde5b5205d12a23d (diff)
drm/tegra: dc - Reset controller on driver remove
Since the device will no longer be used, may as well keep it in reset to potentially save some power and make sure it is in a clean state the next time it's probed. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/tegra/dc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index 8886907d44b0..b2065d9e13d4 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -1521,6 +1521,7 @@ static int tegra_dc_remove(struct platform_device *pdev)
1521 return err; 1521 return err;
1522 } 1522 }
1523 1523
1524 reset_control_assert(dc->rst);
1524 clk_disable_unprepare(dc->clk); 1525 clk_disable_unprepare(dc->clk);
1525 1526
1526 return 0; 1527 return 0;