summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-02-03 12:32:26 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-03 12:32:26 +0100
commit57225b76864210d667b935c54babf22b6c31336b (patch)
treecce7eab28de00a88d75b8eda704f5838e10947b1 /drivers/mmc/host/mmci.c
parentLinux 3.3-rc2 (diff)
parentMerge branch 'amba' into for-armsoc (diff)
downloadlinux-57225b76864210d667b935c54babf22b6c31336b.tar.xz
linux-57225b76864210d667b935c54babf22b6c31336b.zip
Merge remote-tracking branch 'armsoc/depends/rmk/for-armsoc' into at91-3.4-base
Conflicts: arch/arm/mach-at91/at91cap9.c arch/arm/mach-at91/at91sam9g45.c
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r--drivers/mmc/host/mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 0d955ffaf44e..304f2f98b680 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1325,7 +1325,7 @@ static int __devinit mmci_probe(struct amba_device *dev,
if (ret)
goto unmap;
- if (dev->irq[1] == NO_IRQ)
+ if (dev->irq[1] == NO_IRQ || !dev->irq[1])
host->singleirq = true;
else {
ret = request_irq(dev->irq[1], mmci_pio_irq, IRQF_SHARED,