projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f3e1e
)
drm/tegra: dc - Reset controller on driver remove
author
Thierry Reding
<treding@nvidia.com>
Fri, 11 Jul 2014 06:39:03 +0000
(08:39 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Mon, 4 Aug 2014 08:07:38 +0000
(10:07 +0200)
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>
drivers/gpu/drm/tegra/dc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/dc.c
b/drivers/gpu/drm/tegra/dc.c
index 8886907d44b0add3d1bd5aef4b3251865a653c10..b2065d9e13d4202c062bc77603cfbbab2ecd24b6 100644
(file)
--- 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)
return err;
}
+ reset_control_assert(dc->rst);
clk_disable_unprepare(dc->clk);
return 0;