]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mmc/host/sdhci-dove.c
mmc: sdhci: Use work structs instead of tasklets
[karo-tx-linux.git] / drivers / mmc / host / sdhci-dove.c
index 8424839660f844b748f7960a46a5e9cf5df88e56..45c7f25dac748e638018d3b0293c169b8e86c48e 100644 (file)
@@ -39,7 +39,7 @@ static irqreturn_t sdhci_dove_carddetect_irq(int irq, void *data)
 {
        struct sdhci_host *host = data;
 
-       tasklet_schedule(&host->card_tasklet);
+       schedule_schedule(&host->card_detect_work);
        return IRQ_HANDLED;
 }
 
@@ -149,8 +149,8 @@ static int sdhci_dove_probe(struct platform_device *pdev)
                goto err_sdhci_add;
 
        /*
-        * We must request the IRQ after sdhci_add_host(), as the tasklet only
-        * gets setup in sdhci_add_host() and we oops.
+        * We must request the IRQ after sdhci_add_host(), as the workqueue
+        * only gets setup in sdhci_add_host() and we oops.
         */
        if (gpio_is_valid(priv->gpio_cd)) {
                ret = request_irq(gpio_to_irq(priv->gpio_cd),