summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
committerDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
commit88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch)
treee1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch
parenta1e2573369c6714956af561523ba274aa9c185f7 (diff)
downloadmeta-ti-split.tar.gz
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring extra non-standard dependencies besides oe-core. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch b/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch
new file mode 100644
index 00000000..9d5ab617
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0002-OMAP-DSS2-DSI-fix-dsi_dump_clocks.patch
@@ -0,0 +1,49 @@
1From 5275654d2e873ca5bdbbd8be61dbb2d63c0e04cb Mon Sep 17 00:00:00 2001
2From: Tomi Valkeinen <tomi.valkeinen@ti.com>
3Date: Mon, 4 Apr 2011 10:02:53 +0300
4Subject: [PATCH 02/32] OMAP: DSS2: DSI: fix dsi_dump_clocks()
5
6On OMAP4, reading DSI_PLL_CONFIGURATION2 register requires the L3 clock
7(CIO_CLK_ICG) to PLL. Currently dsi_dump_clocks() tries to read that
8register without enabling the L3 clock, leading to crash if DSI is not
9in use.
10
11The status of the bit being read from DSI_PLL_CONFIGURATION2 is
12available from dsi_clock_info->use_sys_clk, so we can avoid the whole
13problem by just using that.
14
15Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
16---
17 drivers/video/omap2/dss/dsi.c | 6 +-----
18 1 files changed, 1 insertions(+), 5 deletions(-)
19
20diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
21index 8604153..1464ac4 100644
22--- a/drivers/video/omap2/dss/dsi.c
23+++ b/drivers/video/omap2/dss/dsi.c
24@@ -1491,7 +1491,6 @@ void dsi_pll_uninit(void)
25
26 void dsi_dump_clocks(struct seq_file *s)
27 {
28- int clksel;
29 struct dsi_clock_info *cinfo = &dsi.current_cinfo;
30 enum dss_clk_source dispc_clk_src, dsi_clk_src;
31
32@@ -1500,13 +1499,10 @@ void dsi_dump_clocks(struct seq_file *s)
33
34 enable_clocks(1);
35
36- clksel = REG_GET(DSI_PLL_CONFIGURATION2, 11, 11);
37-
38 seq_printf(s, "- DSI PLL -\n");
39
40 seq_printf(s, "dsi pll source = %s\n",
41- clksel == 0 ?
42- "dss_sys_clk" : "pclkfree");
43+ cinfo->use_sys_clk ? "dss_sys_clk" : "pclkfree");
44
45 seq_printf(s, "Fint\t\t%-16luregn %u\n", cinfo->fint, cinfo->regn);
46
47--
481.6.6.1
49