Browse Source

drm/tegra: dc: Do not needlessly deassert reset

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>
Thierry Reding 10 years ago
parent
commit
05f175f4f3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/gpu/drm/tegra/dc.c

+ 0 - 4
drivers/gpu/drm/tegra/dc.c

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