From: Thierry Reding Date: Fri, 16 Jan 2015 15:30:55 +0000 (+0100) Subject: drm/tegra: dc: Do not needlessly deassert reset X-Git-Tag: v4.14-rc1~5930^2~25^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05f175f4f38de4e89facbb1420978e072ed4870c;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index c5197bd..03c9ccf 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/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