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 7eaaee74a039f36c180629b2233f8455d88b1b6a..05213b2ec2bd608f8e26cd32b93410f07037b75b 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);