projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/dsi.c
b/drivers/gpu/drm/tegra/dsi.c
index 55ac86faec606d700dee4767e0e17d6f7af1b3ce..b6740c89f6f3ca4aa35f1e8d3eb96ee86d080cc8 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) {