drm/tegra: dc: Do not needlessly deassert reset
authorThierry Reding <treding@nvidia.com>
Fri, 16 Jan 2015 15:30:55 +0000 (16:30 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:50 +0000 (10:14 +0100)
Commit 9c0127004ff4 ("drm/tegra: dc: Add powergate support") changed the
driver's ->probe() implementation to deassert the module reset, and with
there being nobody else to assert it until ->remove() there is no need
to deassert again later on.

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

index c5197bd..03c9ccf 100644 (file)
@@ -1153,10 +1153,6 @@ static void tegra_crtc_prepare(struct drm_crtc *crtc)
 
        drm_crtc_vblank_off(crtc);
 
-       /* hardware initialization */
-       reset_control_deassert(dc->rst);
-       usleep_range(10000, 20000);
-
        if (dc->pipe)
                syncpt = SYNCPT_VBLANK1;
        else