Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb825d89 authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: dsi - Reset controller on driver unload



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: default avatarThierry Reding <treding@nvidia.com>
parent 79eb7e5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {