From patchwork Wed Apr 13 06:50:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 703111 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 p3D6ob9D022894 for ; Wed, 13 Apr 2011 06:50:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756080Ab1DMGum (ORCPT ); Wed, 13 Apr 2011 02:50:42 -0400 Received: from na3sys009aog115.obsmtp.com ([74.125.149.238]:39665 "EHLO na3sys009aog115.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755295Ab1DMGum (ORCPT ); Wed, 13 Apr 2011 02:50:42 -0400 Received: from mail-ew0-f44.google.com ([209.85.215.44]) (using TLSv1) by na3sys009aob115.postini.com ([74.125.148.12]) with SMTP ID DSNKTaVHwLCVGIXIDolWA4PQJvUtmjwo6eNx@postini.com; Tue, 12 Apr 2011 23:50:41 PDT Received: by ewy19 with SMTP id 19so126283ewy.17 for ; Tue, 12 Apr 2011 23:50:39 -0700 (PDT) Received: by 10.14.126.3 with SMTP id a3mr2811197eei.203.1302677439405; Tue, 12 Apr 2011 23:50:39 -0700 (PDT) Received: from deskari (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id q53sm194877eeh.4.2011.04.12.23.50.37 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 23:50:38 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org Cc: archit@ti.com, Tomi Valkeinen Subject: [PATCH 4/5] OMAP: DSS2: DSI: fix use_sys_clk & highfreq Date: Wed, 13 Apr 2011 09:50:16 +0300 Message-Id: <1302677417-4590-5-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1302677417-4590-1-git-send-email-tomi.valkeinen@ti.com> References: <1302677417-4590-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]); Wed, 13 Apr 2011 06:50:55 +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 1cc4f37..9690bea 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 =