projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79eb7e5
)
drm/tegra: dsi - Reset controller on driver unload
author
Thierry Reding
<treding@nvidia.com>
Fri, 14 Mar 2014 13:25:43 +0000
(14:25 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 5 Jun 2014 21:09:31 +0000
(23:09 +0200)
Assert the DSI controller's reset when the driver is unloaded to reduce
power consumption and to put the controller into a known state for
subsequent driver reloads.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/dsi.c
b/drivers/gpu/drm/tegra/dsi.c
index
55ac86f
..
b6740c8
100644
(file)
--- a/
drivers/gpu/drm/tegra/dsi.c
+++ b/
drivers/gpu/drm/tegra/dsi.c
@@
-949,6
+949,7
@@
static int tegra_dsi_remove(struct platform_device *pdev)
clk_disable_unprepare(dsi->clk_parent);
clk_disable_unprepare(dsi->clk_lp);
clk_disable_unprepare(dsi->clk);
+ reset_control_assert(dsi->rst);
err = tegra_output_remove(&dsi->output);
if (err < 0) {