提交 3ab50064 编写于 作者: M Magnus Damm 提交者: Chris Ball

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: NMagnus Damm <damm@opensource.se>
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 8e7bfdb3
...@@ -122,8 +122,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) ...@@ -122,8 +122,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
goto eirq; goto eirq;
} }
ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED | ret = request_irq(irq, tmio_mmc_irq, 0, dev_name(&pdev->dev), host);
IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host);
if (ret) if (ret)
goto eirq; goto eirq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册