From: Grazvydas Ignotas Date: Sun, 18 Jan 2009 17:04:39 +0000 (+0200) Subject: Don't claim SDIO irq X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c3a89530f685fff5cfefb9e3c9b0289b598fa21;p=pandora-wifi.git Don't claim SDIO irq It's not used and doesn't work anyway, MMC irq code can't access host because it's claimed by this driver. --- diff --git a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c index 59ca160..8358ebb 100644 --- a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c +++ b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c @@ -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");