Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250995
b: refs/heads/master
c: 6553b21
h: refs/heads/master
i:
  250993: 23aa15c
  250991: da66772
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Apr 15, 2011
1 parent ca101d4 commit 69de168
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 4eb68edb7d21aff81765a065680270693c23fbfc
refs/heads/master: 6553b2105c8871dae8dfff244440e793f3a6bdb9
10 changes: 8 additions & 2 deletions trunk/drivers/video/omap2/dss/dss.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,14 @@ enum dss_clk_source dss_get_dsi_clk_source(void)

enum dss_clk_source dss_get_lcd_clk_source(enum omap_channel channel)
{
int ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : 1;
return dss.lcd_clk_source[ix];
if (dss_has_feature(FEAT_LCD_CLK_SRC)) {
int ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : 1;
return dss.lcd_clk_source[ix];
} else {
/* LCD_CLK source is the same as DISPC_FCLK source for
* OMAP2 and OMAP3 */
return dss.dispc_clk_source;
}
}

/* calculate clock rates using dividers in cinfo */
Expand Down

0 comments on commit 69de168

Please sign in to comment.