Ver Fonte

drm/tegra: hdmi: Resets are synchronous

Resets on Tegra are synchronous, so keep the clock enabled while
asserting the reset.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding há 10 anos atrás
pai
commit
375e118437
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/gpu/drm/tegra/hdmi.c

+ 1 - 1
drivers/gpu/drm/tegra/hdmi.c

@@ -1394,8 +1394,8 @@ static int tegra_hdmi_exit(struct host1x_client *client)
 
 	tegra_output_exit(&hdmi->output);
 
-	clk_disable_unprepare(hdmi->clk);
 	reset_control_assert(hdmi->rst);
+	clk_disable_unprepare(hdmi->clk);
 
 	regulator_disable(hdmi->vdd);
 	regulator_disable(hdmi->pll);