Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Yong Zhang and committed by
Chris Ball
d9618e9f f7c56ef2

+4 -5
+2 -3
drivers/mmc/host/omap_hsmmc.c
··· 2015 2015 } 2016 2016 2017 2017 /* Request IRQ for MMC operations */ 2018 - ret = request_irq(host->irq, omap_hsmmc_irq, IRQF_DISABLED, 2018 + ret = request_irq(host->irq, omap_hsmmc_irq, 0, 2019 2019 mmc_hostname(mmc), host); 2020 2020 if (ret) { 2021 2021 dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ\n"); ··· 2043 2043 if ((mmc_slot(host).card_detect_irq)) { 2044 2044 ret = request_irq(mmc_slot(host).card_detect_irq, 2045 2045 omap_hsmmc_cd_handler, 2046 - IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING 2047 - | IRQF_DISABLED, 2046 + IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 2048 2047 mmc_hostname(mmc), host); 2049 2048 if (ret) { 2050 2049 dev_dbg(mmc_dev(host->mmc),
+2 -2
drivers/mmc/host/tmio_mmc.c
··· 88 88 if (ret) 89 89 goto cell_disable; 90 90 91 - ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED | 92 - IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host); 91 + ret = request_irq(irq, tmio_mmc_irq, IRQF_TRIGGER_FALLING, 92 + dev_name(&pdev->dev), host); 93 93 if (ret) 94 94 goto host_remove; 95 95