From patchwork Thu Mar 31 10:11:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 678891 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2VABYE1027354 for ; Thu, 31 Mar 2011 10:11:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933882Ab1CaKLd (ORCPT ); Thu, 31 Mar 2011 06:11:33 -0400 Received: from na3sys009aog106.obsmtp.com ([74.125.149.77]:56829 "EHLO na3sys009aog106.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933501Ab1CaKLb (ORCPT ); Thu, 31 Mar 2011 06:11:31 -0400 Received: from source ([74.125.82.173]) (using TLSv1) by na3sys009aob106.postini.com ([74.125.148.12]) with SMTP ID DSNKTZRTUZf+95IBScWqvcJfWP3Czvbtyhal@postini.com; Thu, 31 Mar 2011 03:11:31 PDT Received: by mail-wy0-f173.google.com with SMTP id 42so2185122wyb.32 for ; Thu, 31 Mar 2011 03:11:29 -0700 (PDT) Received: by 10.216.145.131 with SMTP id p3mr2304074wej.82.1301566289730; Thu, 31 Mar 2011 03:11:29 -0700 (PDT) Received: from deskari (a62-248-146-119.elisa-laajakaista.fi [62.248.146.119]) by mx.google.com with ESMTPS id d6sm429627wer.26.2011.03.31.03.11.28 (version=SSLv3 cipher=OTHER); Thu, 31 Mar 2011 03:11:29 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen Subject: [PATCH 5/9] OMAP: DSS2: VENC: Remove sleeps at venc enable/disable Date: Thu, 31 Mar 2011 13:11:02 +0300 Message-Id: <1301566266-11187-6-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301566266-11187-1-git-send-email-tomi.valkeinen@ti.com> References: <1301566266-11187-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 31 Mar 2011 10:11:35 +0000 (UTC) diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 8c7af90..fe18800 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c @@ -487,9 +487,6 @@ static int venc_panel_enable(struct omap_dss_device *dssdev) dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; - /* wait couple of vsyncs until enabling the LCD */ - msleep(50); - err1: mutex_unlock(&venc.venc_lock); @@ -513,9 +510,6 @@ static void venc_panel_disable(struct omap_dss_device *dssdev) venc_power_off(dssdev); - /* wait at least 5 vsyncs after disabling the LCD */ - msleep(100); - dssdev->state = OMAP_DSS_DISPLAY_DISABLED; end: mutex_unlock(&venc.venc_lock);