]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mmc/host/sdhci-spear.c
mmc: sdhci: Use work structs instead of tasklets
[karo-tx-linux.git] / drivers / mmc / host / sdhci-spear.c
index 2dba9f8d1760313e3c47eeca756d6a59247ed924..9b6459da7b1cd480620cb3c760c8f72ea61a7e45 100644 (file)
@@ -65,7 +65,7 @@ static irqreturn_t sdhci_gpio_irq(int irq, void *dev_id)
        }
 
        /* inform sdhci driver about card insertion/removal */
-       tasklet_schedule(&host->card_tasklet);
+       schedule_work(&host->card_detect_work);
 
        return IRQ_HANDLED;
 }