Commit 5482d75a authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent d1f3e1e0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment