From patchwork Fri Apr 15 08:11:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 710311 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 p3F8BTXs017187 for ; Fri, 15 Apr 2011 08:11:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751641Ab1DOILb (ORCPT ); Fri, 15 Apr 2011 04:11:31 -0400 Received: from na3sys009aog112.obsmtp.com ([74.125.149.207]:54980 "EHLO na3sys009aog112.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997Ab1DOIL2 (ORCPT ); Fri, 15 Apr 2011 04:11:28 -0400 Received: from mail-wy0-f170.google.com ([74.125.82.170]) (using TLSv1) by na3sys009aob112.postini.com ([74.125.148.12]) with SMTP ID DSNKTaf9r6yPg15oFupsKTmothwQ1y/Gn1lp@postini.com; Fri, 15 Apr 2011 01:11:28 PDT Received: by mail-wy0-f170.google.com with SMTP id 34so4107985wyb.1 for ; Fri, 15 Apr 2011 01:11:27 -0700 (PDT) Received: by 10.227.55.4 with SMTP id s4mr1744781wbg.228.1302855087231; Fri, 15 Apr 2011 01:11:27 -0700 (PDT) Received: from deskari (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id y12sm1450529wby.8.2011.04.15.01.11.25 (version=SSLv3 cipher=OTHER); Fri, 15 Apr 2011 01:11:26 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, Tomi Valkeinen Subject: [PATCH 1/5] OMAP: DSS2: DSI: fix use_sys_clk & highfreq Date: Fri, 15 Apr 2011 11:11:07 +0300 Message-Id: <1302855071-5510-2-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1302855071-5510-1-git-send-email-tomi.valkeinen@ti.com> References: <1302855071-5510-1-git-send-email-tomi.valkeinen@ti.com> 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]); Fri, 15 Apr 2011 08:11:34 +0000 (UTC) use_sys_clk and highfreq fields in dsi.current_cinfo were never set. Luckily they weren't used anywhere so it didn't cause any problems. This patch fixes those fields and they are now set at the same time as the rest of the fields. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dsi.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 0a7f1a4..8604153 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -1276,6 +1276,9 @@ int dsi_pll_set_clock_div(struct dsi_clock_info *cinfo) DSSDBGF(); + dsi.current_cinfo.use_sys_clk = cinfo->use_sys_clk; + dsi.current_cinfo.highfreq = cinfo->highfreq; + dsi.current_cinfo.fint = cinfo->fint; dsi.current_cinfo.clkin4ddr = cinfo->clkin4ddr; dsi.current_cinfo.dsi_pll_hsdiv_dispc_clk =