Skip to contentSkip to conversation

mmc: sdhi: no need for special interrupt flags

PATCH In review Magnus Damm 1 participant 1 message May 2, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 mmc: sdhi: no need for special interrupt flags

From: Magnus Damm <[email protected]>

Modify the SDHI driver to get rid of unwanted irq flags.

IRQF_DISABLED unused, see include/linux/interrupt.h IRQF_TRIGGER_FALLING only relevant on external IRQ pins, but since SDHI is internal in the SoC this can go away.

Needed to support SDHI on sh73a0 that comes with a GIC that errors out with the IRQF_TRIGGER_FALLING setting.

---

 drivers/mmc/host/sh_mobile_sdhi.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/mmc/host/sh_mobile_sdhi.c +1 -2
@@ -120,8 +120,7 @@ static int __devinit sh_mobile_sdhi_prob
 	if (irq < 0)
 		goto eirq;
 
-	ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED |
-			  IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host);
+	ret = request_irq(irq, tmio_mmc_irq, 0, dev_name(&pdev->dev), host);
 	if (ret)
 		goto eirq;