Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5758
b: refs/heads/master
c: 8d37226
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Aug 10, 2005
1 parent 2c787ff commit a318aaf
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 6626a7076d39f0a18156cdd97d4e2cbef91ad701
refs/heads/master: 8d3722667762af1490db18ba927386d3be89a32b
8 changes: 6 additions & 2 deletions trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,9 @@ static void pxafb_enable_controller(struct pxafb_info *fbi)
DPRINTK("reg_lccr2 0x%08x\n", (unsigned int) fbi->reg_lccr2);
DPRINTK("reg_lccr3 0x%08x\n", (unsigned int) fbi->reg_lccr3);

/* enable LCD controller clock */
pxa_set_cken(CKEN16_LCD, 1);

/* Sequence from 11.7.10 */
LCCR3 = fbi->reg_lccr3;
LCCR2 = fbi->reg_lccr2;
Expand Down Expand Up @@ -750,6 +753,9 @@ static void pxafb_disable_controller(struct pxafb_info *fbi)

schedule_timeout(20 * HZ / 1000);
remove_wait_queue(&fbi->ctrlr_wait, &wait);

/* disable LCD controller clock */
pxa_set_cken(CKEN16_LCD, 0);
}

/*
Expand Down Expand Up @@ -1299,8 +1305,6 @@ int __init pxafb_probe(struct device *dev)
ret = -ENOMEM;
goto failed;
}
/* enable LCD controller clock */
pxa_set_cken(CKEN16_LCD, 1);

ret = request_irq(IRQ_LCD, pxafb_handle_irq, SA_INTERRUPT, "LCD", fbi);
if (ret) {
Expand Down

0 comments on commit a318aaf

Please sign in to comment.