drm/tegra: hdmi: Resets are synchronous
authorThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 15:14:26 +0000 (16:14 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:49:22 +0000 (18:49 +0200)
Resets on Tegra are synchronous, so keep the clock enabled while
asserting the reset.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c

index 7eaaee7..05213b2 100644 (file)
@@ -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);