Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271368
b: refs/heads/master
c: e13a138
h: refs/heads/master
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Sep 14, 2011
1 parent fa7df94 commit 49cc6b4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ac01c29e5279fe31632e9118619b365514633235
refs/heads/master: e13a138bc68259dc630cb903942975efa40d2bd9
4 changes: 2 additions & 2 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static struct {
int irq;
struct clk *dss_clk;

u32 fifo_size[3];
u32 fifo_size[MAX_DSS_OVERLAYS];

spinlock_t irq_lock;
u32 irq_error_mask;
Expand Down Expand Up @@ -1024,7 +1024,7 @@ static void dispc_read_plane_fifo_sizes(void)

dss_feat_get_reg_field(FEAT_REG_FIFOSIZE, &start, &end);

for (plane = 0; plane < ARRAY_SIZE(dispc.fifo_size); ++plane) {
for (plane = 0; plane < dss_feat_get_num_ovls(); ++plane) {
size = REG_GET(DISPC_OVL_FIFO_SIZE_STATUS(plane), start, end);
size *= unit;
dispc.fifo_size[plane] = size;
Expand Down

0 comments on commit 49cc6b4

Please sign in to comment.