Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65655
b: refs/heads/master
c: 599473c
h: refs/heads/master
i:
  65653: fcbd109
  65651: e19d2f0
  65647: 8952f13
v: v3
  • Loading branch information
Nicolas Pitre authored and Pierre Ossman committed Oct 6, 2007
1 parent 2b858b9 commit c47e727
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 3e01e4bcdd56209e70c39293e0c4c355d09364b8
refs/heads/master: 599473cf15a3fae78cbc3192cfb38ca04d5abc72
10 changes: 8 additions & 2 deletions trunk/drivers/mmc/core/sdio_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,22 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
printk(KERN_WARNING "%s: pending IRQ for "
"non-existant function\n",
mmc_card_id(card));
ret = -EINVAL;
} else if (func->irq_handler) {
func->irq_handler(func);
count++;
} else
} else {
printk(KERN_WARNING "%s: pending IRQ with no handler\n",
sdio_func_id(func));
ret = -EINVAL;
}
}
}

return count;
if (count)
return count;

return ret;
}

static int sdio_irq_thread(void *_host)
Expand Down

0 comments on commit c47e727

Please sign in to comment.