Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ab50064 authored by Magnus Damm's avatar Magnus Damm Committed by Chris Ball
Browse files

mmc: sdhi: no need for special interrupt flags



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.

Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 8e7bfdb3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -122,8 +122,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
		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;