Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272891
b: refs/heads/master
c: c1df2dc
h: refs/heads/master
i:
  272889: 629468d
  272887: 7ca1147
v: v3
  • Loading branch information
Todd Poynor authored and Santosh Shilimkar committed Sep 24, 2011
1 parent c1be331 commit 8514a2b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 342fd144292a6b64ea869e4052eb250486c8f326
refs/heads/master: c1df2dcc90dc6f5110726e9bdcd2353db989c29d
12 changes: 5 additions & 7 deletions trunk/arch/arm/mach-omap2/omap_l3_noc.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static int __init omap4_l3_probe(struct platform_device *pdev)
{
static struct omap4_l3 *l3;
struct resource *res;
int ret, irq;
int ret;

l3 = kzalloc(sizeof(*l3), GFP_KERNEL);
if (!l3)
Expand Down Expand Up @@ -176,27 +176,25 @@ static int __init omap4_l3_probe(struct platform_device *pdev)
/*
* Setup interrupt Handlers
*/
irq = platform_get_irq(pdev, 0);
ret = request_irq(irq,
l3->debug_irq = platform_get_irq(pdev, 0);
ret = request_irq(l3->debug_irq,
l3_interrupt_handler,
IRQF_DISABLED, "l3-dbg-irq", l3);
if (ret) {
pr_crit("L3: request_irq failed to register for 0x%x\n",
OMAP44XX_IRQ_L3_DBG);
goto err3;
}
l3->debug_irq = irq;

irq = platform_get_irq(pdev, 1);
ret = request_irq(irq,
l3->app_irq = platform_get_irq(pdev, 1);
ret = request_irq(l3->app_irq,
l3_interrupt_handler,
IRQF_DISABLED, "l3-app-irq", l3);
if (ret) {
pr_crit("L3: request_irq failed to register for 0x%x\n",
OMAP44XX_IRQ_L3_APP);
goto err4;
}
l3->app_irq = irq;

return 0;

Expand Down

0 comments on commit 8514a2b

Please sign in to comment.