]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-omap-2.6.39/sakoman/0001-OMAP-DSS2-DSI-fix-use_sys_clk-highfreq.patch
linux-omap 2.6.39: add MFD patch set and refresh other patches
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-omap-2.6.39 / sakoman / 0001-OMAP-DSS2-DSI-fix-use_sys_clk-highfreq.patch
1 From 6aae34d56ba8fef140b60631536272f6b39c1f61 Mon Sep 17 00:00:00 2001
2 From: Tomi Valkeinen <tomi.valkeinen@ti.com>
3 Date: Thu, 7 Apr 2011 15:28:47 +0300
4 Subject: [PATCH 01/32] OMAP: DSS2: DSI: fix use_sys_clk & highfreq
6 use_sys_clk and highfreq fields in dsi.current_cinfo were never set.
7 Luckily they weren't used anywhere so it didn't cause any problems.
9 This patch fixes those fields and they are now set at the same time as
10 the rest of the fields.
12 Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
13 ---
14  drivers/video/omap2/dss/dsi.c |    3 +++
15  1 files changed, 3 insertions(+), 0 deletions(-)
17 diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
18 index 0a7f1a4..8604153 100644
19 --- a/drivers/video/omap2/dss/dsi.c
20 +++ b/drivers/video/omap2/dss/dsi.c
21 @@ -1276,6 +1276,9 @@ int dsi_pll_set_clock_div(struct dsi_clock_info *cinfo)
22  
23         DSSDBGF();
24  
25 +       dsi.current_cinfo.use_sys_clk = cinfo->use_sys_clk;
26 +       dsi.current_cinfo.highfreq = cinfo->highfreq;
27 +
28         dsi.current_cinfo.fint = cinfo->fint;
29         dsi.current_cinfo.clkin4ddr = cinfo->clkin4ddr;
30         dsi.current_cinfo.dsi_pll_hsdiv_dispc_clk =
31 -- 
32 1.6.6.1