Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322486
b: refs/heads/master
c: dd29149
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Linus Walleij committed Aug 31, 2012
1 parent 67299ec commit 0931f8b
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: 4c30aa33d4b4ce9a0ee5b32d058a40f4eca2ab63
refs/heads/master: dd2914972e5f6d9c1a687158c0f65b81d239fe37
4 changes: 2 additions & 2 deletions trunk/drivers/gpio/gpio-em.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ static int __devinit em_gio_irq_domain_init(struct em_gio_priv *p)

p->irq_base = irq_alloc_descs(pdata->irq_base, 0,
pdata->number_of_pins, numa_node_id());
if (IS_ERR_VALUE(p->irq_base)) {
if (p->irq_base < 0) {
dev_err(&pdev->dev, "cannot get irq_desc\n");
return -ENXIO;
return p->irq_base;
}
pr_debug("gio: hw base = %d, nr = %d, sw base = %d\n",
pdata->gpio_base, pdata->number_of_pins, p->irq_base);
Expand Down

0 comments on commit 0931f8b

Please sign in to comment.