Don't claim SDIO irq
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 18 Jan 2009 17:04:39 +0000 (19:04 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 24 Jan 2009 21:55:14 +0000 (23:55 +0200)
It's not used and doesn't work anyway, MMC irq code can't
access host because it's claimed by this driver.

sta_dk_4_0_4_32/pform/linux/src/esta_drv.c

index 59ca160..8358ebb 100644 (file)
@@ -1814,10 +1814,11 @@ static int tiwlan_sdio_probe(struct sdio_func *func, const struct sdio_device_id
        if (rc)
                goto err2;
 
+#if 0
        rc = sdio_claim_irq(func, tiwlan_sdio_irq);
        if (rc)
                goto err1;
-
+#endif
        SDIO_SetFunc( func );
 
        rc = tiwlan_create_drv(0, 0, 0, 0, 0, PANDORA_WIFI_IRQ, NULL, NULL);
@@ -1825,7 +1826,9 @@ static int tiwlan_sdio_probe(struct sdio_func *func, const struct sdio_device_id
        printk(KERN_INFO "TIWLAN: Driver initialized (rc %d)\n", rc);
        complete(&sdio_wait);
        return rc;
+#if 0
 err1:
+#endif
        sdio_disable_func(func);
 err2:
        sdio_release_host(func);
@@ -1837,7 +1840,9 @@ err2:
 static void tiwlan_sdio_remove(struct sdio_func *func)
 {
        printk(KERN_DEBUG "TIWLAN: Releasing SDIO resources\n");
+#if 0
        sdio_release_irq(func);
+#endif
        sdio_disable_func(func);
        sdio_release_host(func);
        printk(KERN_DEBUG "TIWLAN: SDIO resources released\n");