Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310312
b: refs/heads/master
c: a2e5d82
h: refs/heads/master
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed May 9, 2012
1 parent be7c155 commit 67499c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b9c457b43a0bfe227c5016606a2543e2ac4424e
refs/heads/master: a2e5d82758a82b4848f00b1f28f8f71920e1b076
5 changes: 3 additions & 2 deletions trunk/drivers/video/omap2/dss/dss.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void dss_select_dsi_clk_source(int dsi_module,
enum omap_dss_clk_source clk_src)
{
struct platform_device *dsidev;
int b;
int b, pos;

switch (clk_src) {
case OMAP_DSS_CLK_SRC_FCK:
Expand All @@ -357,7 +357,8 @@ void dss_select_dsi_clk_source(int dsi_module,
BUG();
}

REG_FLD_MOD(DSS_CONTROL, b, 1, 1); /* DSI_CLK_SWITCH */
pos = dsi_module == 0 ? 1 : 10;
REG_FLD_MOD(DSS_CONTROL, b, pos, pos); /* DSIx_CLK_SWITCH */

dss.dsi_clk_source[dsi_module] = clk_src;
}
Expand Down

0 comments on commit 67499c9

Please sign in to comment.