Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344661
b: refs/heads/master
c: 251886d
h: refs/heads/master
i:
  344659: 20e0aee
v: v3
  • Loading branch information
Tomi Valkeinen committed Nov 27, 2012
1 parent 75d3d96 commit 699d085
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 3c91ee8cc9fa785ed9c4ad250d3f293f279153fe
refs/heads/master: 251886d8bc6f565c14acb34b12c007b994c2e56d
14 changes: 12 additions & 2 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3232,14 +3232,24 @@ unsigned long dispc_core_clk_rate(void)

static unsigned long dispc_plane_pclk_rate(enum omap_plane plane)
{
enum omap_channel channel = dispc_ovl_get_channel_out(plane);
enum omap_channel channel;

if (plane == OMAP_DSS_WB)
return 0;

channel = dispc_ovl_get_channel_out(plane);

return dispc_mgr_pclk_rate(channel);
}

static unsigned long dispc_plane_lclk_rate(enum omap_plane plane)
{
enum omap_channel channel = dispc_ovl_get_channel_out(plane);
enum omap_channel channel;

if (plane == OMAP_DSS_WB)
return 0;

channel = dispc_ovl_get_channel_out(plane);

return dispc_mgr_lclk_rate(channel);
}
Expand Down

0 comments on commit 699d085

Please sign in to comment.