Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344708
b: refs/heads/master
c: 68c9274
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and MyungJoo Ham committed Nov 21, 2012
1 parent f1a1540 commit a48a4ca
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c0c078c363a578543826bb8bfc9af47c7cc9321b
refs/heads/master: 68c9274d0fd1f66c6d105c52a61268d943e30862
6 changes: 4 additions & 2 deletions trunk/drivers/extcon/extcon-max8997.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,13 @@ static int __devinit max8997_muic_probe(struct platform_device *pdev)

for (i = 0; i < ARRAY_SIZE(muic_irqs); i++) {
struct max8997_muic_irq *muic_irq = &muic_irqs[i];
int virq = 0;
unsigned int virq = 0;

virq = irq_create_mapping(max8997->irq_domain, muic_irq->irq);
if (!virq)
if (!virq) {
ret = -EINVAL;
goto err_irq;
}
muic_irq->virq = virq;

ret = request_threaded_irq(virq, NULL,max8997_muic_irq_handler,
Expand Down

0 comments on commit a48a4ca

Please sign in to comment.