Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271260
b: refs/heads/master
c: 1630d85
h: refs/heads/master
v: v3
  • Loading branch information
Manuel Lauss authored and Paul Mundt committed Jun 15, 2011
1 parent d9b79c6 commit 5dec5dd
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 4ee58461510221a53080afd02752838f93cc57fc
refs/heads/master: 1630d85a831273868651d46d74f069e0cdf9b698
12 changes: 7 additions & 5 deletions trunk/drivers/video/au1200fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ static int __devinit au1200fb_drv_probe(struct platform_device *dev)
struct au1200fb_device *fbdev;
struct fb_info *fbi = NULL;
unsigned long page;
int bpp, plane, ret;
int bpp, plane, ret, irq;

/* shut gcc up */
ret = 0;
Expand Down Expand Up @@ -1671,10 +1671,12 @@ static int __devinit au1200fb_drv_probe(struct platform_device *dev)
}

/* Now hook interrupt too */
if ((ret = request_irq(AU1200_LCD_INT, au1200fb_handle_irq,
IRQF_DISABLED | IRQF_SHARED, "lcd", (void *)dev)) < 0) {
irq = platform_get_irq(dev, 0);
ret = request_irq(irq, au1200fb_handle_irq,
IRQF_DISABLED | IRQF_SHARED, "lcd", (void *)dev);
if (ret) {
print_err("fail to request interrupt line %d (err: %d)",
AU1200_LCD_INT, ret);
irq, ret);
goto failed;
}

Expand Down Expand Up @@ -1722,7 +1724,7 @@ static int __devexit au1200fb_drv_remove(struct platform_device *dev)
_au1200fb_infos[plane] = NULL;
}

free_irq(AU1200_LCD_INT, (void *)dev);
free_irq(platform_get_irq(dev, 0), (void *)dev);

return 0;
}
Expand Down

0 comments on commit 5dec5dd

Please sign in to comment.