diff options
author | Thierry Reding <treding@nvidia.com> | 2014-07-11 08:39:03 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-08-07 16:10:45 +0200 |
commit | 97d5982fd099e9e8b36ab05beec6fadd486036b0 (patch) | |
tree | 9fb0dd1c3a4fb5a64dfd8a508cee86284a7f9e06 | |
parent | fd28a5f69b2a20209848044d5271acd944957a60 (diff) |
drm/tegra: dc - Reset controller on driver removestaging/drm/tegra
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>
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index 2f35ba487f94..4208c0e9bca0 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -1567,6 +1567,7 @@ static int tegra_dc_remove(struct platform_device *pdev) if (dc->soc->has_powergate) tegra_powergate_power_off(dc->powergate); + reset_control_assert(dc->rst); clk_disable_unprepare(dc->clk); return 0; |