linux-omap 2.6.39: sync with meta-texasinstruments
[openembedded.git] / recipes / linux / linux-omap-2.6.39 / sakoman / 0001-OMAP-DSS2-DSI-fix-use_sys_clk-highfreq.patch
blob24700eede906df3ccef04e71ebc4a2ad69151b7d
1 From 19d9727973e7b0c5f8983a1a5ae3b0a02e062bab 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/31] 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)
23 DSSDBGF();
25 + dsi.current_cinfo.use_sys_clk = cinfo->use_sys_clk;
26 + dsi.current_cinfo.highfreq = cinfo->highfreq;
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