Hi, On Mon, Sep 24 2012, Kevin Liu wrote: > So if the irq is disabled, then system can't be woken up. You're assuming that the host controller IRQ is the method used to wake up the system, but I just told you that the SDIO data line in 1-bit mode should be used to wake up the system. I don't know of any systems where the host controller IRQ is used. On the systems that I know about (e.g. MMP2, MMP3) there's an interrupt controller and a wakeup controller (PMU). You need to configure your wakeup controller to pay attention to the card's data line (*not* the host controller's interrupt line) to wake the system. It doesn't matter that the host controller's interrupt line is being freed, because it's not how the system gets woken up. After the PMU wakes us up, we re-register the IRQ line and handle the pending IRQ there. But the IRQ line itself isn't what wakes us. e.g.: #define WLAN_1BIT_MODE_IRQ 39 unsigned long mfpr; mfpr = mfp_read(WLAN_1BIT_MODE_IRQ); if (mmc_card_wake_sdio_irq(host->mmc)) { mfpr &= ~(MFPR_EDGE_CLEAR|MFPR_EDGE_RISE); mfpr |= MFPR_EDGE_FALL; mfpr |= MFPR_PULLUP_EN; } mfp_write(WLAN_1BIT_MODE_IRQ, mfpr); Which platform are you working on? - Chris. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html