Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310321
b: refs/heads/master
c: 3fa03ba
h: refs/heads/master
i:
  310319: 851a3af
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed May 9, 2012
1 parent c68d78d commit b94e5cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: b3d795abb253c7605f8b6257f2e25e7ebaaf4b57
refs/heads/master: 3fa03ba8542c40b90c95facfecd9b2789f71c0b6
11 changes: 6 additions & 5 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2643,13 +2643,14 @@ unsigned long dispc_mgr_pclk_rate(enum omap_channel channel)

return r / pcd;
} else {
struct omap_dss_device *dssdev =
dispc_mgr_get_device(channel);
enum dss_hdmi_venc_clk_source_select source;

switch (dssdev->type) {
case OMAP_DISPLAY_TYPE_VENC:
source = dss_get_hdmi_venc_clk_source();

switch (source) {
case DSS_VENC_TV_CLK:
return venc_get_pixel_clock();
case OMAP_DISPLAY_TYPE_HDMI:
case DSS_HDMI_M_PCLK:
return hdmi_get_pixel_clock();
default:
BUG();
Expand Down

0 comments on commit b94e5cc

Please sign in to comment.