Skip to content

Commit

Permalink
OMAP: DSS2: DSI: fix use_sys_clk & highfreq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Apr 15, 2011
1 parent a6360dd commit ae038af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit ae038af

Please sign in to comment.