From patchwork Wed Mar 23 22:03:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Tobias Schandinat X-Patchwork-Id: 657251 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 p2NLn223014294 for ; Wed, 23 Mar 2011 21:49:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756706Ab1CWVr7 (ORCPT ); Wed, 23 Mar 2011 17:47:59 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:33468 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756640Ab1CWVrz (ORCPT ); Wed, 23 Mar 2011 17:47:55 -0400 Received: (qmail invoked by alias); 23 Mar 2011 21:47:53 -0000 Received: from dslb-088-065-185-053.pools.arcor-ip.net (EHLO localhost.localdomain) [88.65.185.53] by mail.gmx.net (mp011) with SMTP; 23 Mar 2011 22:47:53 +0100 X-Authenticated: #10250065 X-Provags-ID: V01U2FsdGVkX18Dqbl1vBYDpU6xkKcxAQo5Q4aO8QreSAvhGvpNsa kzYfYG/eCczG+n From: Florian Tobias Schandinat To: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Florian Tobias Schandinat Subject: [PATCH 2/4] viafb: no need to write CRTC values twice Date: Wed, 23 Mar 2011 22:03:10 +0000 Message-Id: <1300917792-3880-3-git-send-email-FlorianSchandinat@gmx.de> X-Mailer: git-send-email 1.6.3.2 In-Reply-To: <1300917792-3880-1-git-send-email-FlorianSchandinat@gmx.de> References: <1300917792-3880-1-git-send-email-FlorianSchandinat@gmx.de> X-Y-GMX-Trusted: 0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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]); Wed, 23 Mar 2011 21:49:02 +0000 (UTC) diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index a982718..c4d2136 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -2401,9 +2401,6 @@ int viafb_setmode(struct VideoModeTable *vmode_tbl, int video_bpp, viafb_write_reg_mask(0x15, VIASR, 0xA2, 0xA2); - /* Write CRTC */ - viafb_fill_crtc_timing(crt_timing, vmode_tbl, video_bpp / 8, IGA1); - /* Write Graphic Controller */ for (i = 0; i < StdGR; i++) via_write_reg(VIAGR, i, VPIT.GR[i]);