]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAP: DSS2: DSI: fix use_sys_clk & highfreq
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 7 Apr 2011 12:28:47 +0000 (15:28 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 15 Apr 2011 07:54:10 +0000 (10:54 +0300)
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 <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c

index 0a7f1a47f8e3b5fb0b30c369f971dd77146490b4..86041535f34a95787d6697f76ab6c234b1c42152 100644 (file)
@@ -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 =