Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143791
b: refs/heads/master
c: ff14ed5
h: refs/heads/master
i:
  143789: 9d907bf
  143787: 787d86e
  143783: f6757e5
  143775: 43887f3
v: v3
  • Loading branch information
Denis V. Lunev authored and Linus Torvalds committed Apr 21, 2009
1 parent 9db1a84 commit 1b22d07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 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: 44aa417910ec9cda6da42be914105e789273b507
refs/heads/master: ff14ed5db6e7e5e5dc23712d3c877891d4d9a1a8
16 changes: 9 additions & 7 deletions trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ static void pxafb_disable_controller(struct pxafb_info *fbi)
static irqreturn_t pxafb_handle_irq(int irq, void *dev_id)
{
struct pxafb_info *fbi = dev_id;
unsigned int lccr0, lcsr, lcsr1;
unsigned int lccr0, lcsr;

lcsr = lcd_readl(fbi, LCSR);
if (lcsr & LCSR_LDD) {
Expand All @@ -1455,14 +1455,16 @@ static irqreturn_t pxafb_handle_irq(int irq, void *dev_id)
lcd_writel(fbi, LCSR, lcsr);

#ifdef CONFIG_FB_PXA_OVERLAY
lcsr1 = lcd_readl(fbi, LCSR1);
if (lcsr1 & LCSR1_BS(1))
complete(&fbi->overlay[0].branch_done);
{
unsigned int lcsr1 = lcd_readl(fbi, LCSR1);
if (lcsr1 & LCSR1_BS(1))
complete(&fbi->overlay[0].branch_done);

if (lcsr1 & LCSR1_BS(2))
complete(&fbi->overlay[1].branch_done);
if (lcsr1 & LCSR1_BS(2))
complete(&fbi->overlay[1].branch_done);

lcd_writel(fbi, LCSR1, lcsr1);
lcd_writel(fbi, LCSR1, lcsr1);
}
#endif
return IRQ_HANDLED;
}
Expand Down

0 comments on commit 1b22d07

Please sign in to comment.