]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
twl4030-gpio: remove legacy irq triggering calls and user
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap_hsmmc.c
index 9a007ca1802c0e911ed92e3247bfb2a14def2c64..00b1b682f4e0b097d00a76a9a7d51cd6a0a48386 100644 (file)
@@ -928,7 +928,9 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
        /* Request IRQ for card detect */
        if ((mmc_slot(host).card_detect_irq) && (mmc_slot(host).card_detect)) {
                ret = request_irq(mmc_slot(host).card_detect_irq,
-                                 omap_mmc_cd_handler, IRQF_DISABLED,
+                                 omap_mmc_cd_handler,
+                                 IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING
+                                         | IRQF_DISABLED,
                                  mmc_hostname(mmc), host);
                if (ret) {
                        dev_dbg(mmc_dev(host->mmc),