Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
05f175f4f3
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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);
 
-	/* hardware initialization */
-	reset_control_deassert(dc->rst);
-	usleep_range(10000, 20000);
-
 	if (dc->pipe)
 		syncpt = SYNCPT_VBLANK1;
 	else