Commit d9618e9f authored by Yong Zhang's avatar Yong Zhang Committed by Chris Ball

mmc: irq: Remove IRQF_DISABLED

Since commit [e58aa3d2: genirq: Run irq handlers with interrupts
disabled], we run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler returns with
interrupts enabled (see commit [b738a50a: genirq: Warn when handler
enables interrupts]).

So now this flag is a NOOP and can be removed.
Signed-off-by: default avatarYong Zhang <yong.zhang0@gmail.com>
Acked-by: default avatarKishore Kadiyala <kishore.kadiyala@ti.com>
Acked-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent f7c56ef2
...@@ -2015,7 +2015,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) ...@@ -2015,7 +2015,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
} }
/* Request IRQ for MMC operations */ /* Request IRQ for MMC operations */
ret = request_irq(host->irq, omap_hsmmc_irq, IRQF_DISABLED, ret = request_irq(host->irq, omap_hsmmc_irq, 0,
mmc_hostname(mmc), host); mmc_hostname(mmc), host);
if (ret) { if (ret) {
dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ\n"); dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ\n");
...@@ -2043,8 +2043,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) ...@@ -2043,8 +2043,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
if ((mmc_slot(host).card_detect_irq)) { if ((mmc_slot(host).card_detect_irq)) {
ret = request_irq(mmc_slot(host).card_detect_irq, ret = request_irq(mmc_slot(host).card_detect_irq,
omap_hsmmc_cd_handler, omap_hsmmc_cd_handler,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
| IRQF_DISABLED,
mmc_hostname(mmc), host); mmc_hostname(mmc), host);
if (ret) { if (ret) {
dev_dbg(mmc_dev(host->mmc), dev_dbg(mmc_dev(host->mmc),
......
...@@ -88,8 +88,8 @@ static int __devinit tmio_mmc_probe(struct platform_device *pdev) ...@@ -88,8 +88,8 @@ static int __devinit tmio_mmc_probe(struct platform_device *pdev)
if (ret) if (ret)
goto cell_disable; goto cell_disable;
ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED | ret = request_irq(irq, tmio_mmc_irq, IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host); dev_name(&pdev->dev), host);
if (ret) if (ret)
goto host_remove; goto host_remove;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment