aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-05-06 07:02:37 -0400
committerChris Ball <cjb@laptop.org>2011-05-24 23:53:53 -0400
commit3ab5006471855e0864e0d83a5b39c811c525ed83 (patch)
tree7484343b28cad8118c3ca1deb54a26401ba9d9f0 /drivers/mmc
parent8e7bfdb37ac001c95d2c768932b57de1019409cd (diff)
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: Magnus Damm <damm@opensource.se> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 9ee51ace6f70..c4895478bfd6 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -122,8 +122,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
122 goto eirq; 122 goto eirq;
123 } 123 }
124 124
125 ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED | 125 ret = request_irq(irq, tmio_mmc_irq, 0, dev_name(&pdev->dev), host);
126 IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host);
127 if (ret) 126 if (ret)
128 goto eirq; 127 goto eirq;
129 128