]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
mmc: irq: Remove IRQF_DISABLED
authorYong Zhang <yong.zhang0@gmail.com>
Thu, 22 Sep 2011 08:59:04 +0000 (16:59 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:16 +0000 (16:32 -0400)
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: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/tmio_mmc.c

index 21e4a799df48b49bdbea53cefbc671375e944bf4..75c63955fa7fb4be3521898e259a3ad0b7b137ee 100644 (file)
@@ -2015,7 +2015,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
        }
 
        /* 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);
        if (ret) {
                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)
        if ((mmc_slot(host).card_detect_irq)) {
                ret = request_irq(mmc_slot(host).card_detect_irq,
                                  omap_hsmmc_cd_handler,
-                                 IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING
-                                         | IRQF_DISABLED,
+                                 IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
                                  mmc_hostname(mmc), host);
                if (ret) {
                        dev_dbg(mmc_dev(host->mmc),
index 44a9668c4b7ad759483b286569470a105d7ecc53..a4ea10242787465d21f99e93e11516d8090cdef1 100644 (file)
@@ -88,8 +88,8 @@ static int __devinit tmio_mmc_probe(struct platform_device *pdev)
        if (ret)
                goto cell_disable;
 
-       ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED |
-                         IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host);
+       ret = request_irq(irq, tmio_mmc_irq, IRQF_TRIGGER_FALLING,
+                               dev_name(&pdev->dev), host);
        if (ret)
                goto host_remove;