mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
sdio: fix IRQ diagnostic message
If func is actually null we won't get much from sdio_func_id(func). Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
d6f8deecef
commit
3e01e4bcdd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
|
||||||
if (!func) {
|
if (!func) {
|
||||||
printk(KERN_WARNING "%s: pending IRQ for "
|
printk(KERN_WARNING "%s: pending IRQ for "
|
||||||
"non-existant function\n",
|
"non-existant function\n",
|
||||||
sdio_func_id(func));
|
mmc_card_id(card));
|
||||||
} else if (func->irq_handler) {
|
} else if (func->irq_handler) {
|
||||||
func->irq_handler(func);
|
func->irq_handler(func);
|
||||||
count++;
|
count++;
|
||||||
|
|
Loading…
Reference in a new issue