mmc: cd-gpio: wakeup system wheter debounce or not
authorlintao <lintao@rock-chips.com>
Sat, 20 Sep 2014 07:37:49 +0000 (15:37 +0800)
committerlintao <lintao@rock-chips.com>
Sat, 20 Sep 2014 07:39:02 +0000 (15:39 +0800)
Signed-off-by: lintao <lintao@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c

index a20fec90a7c740cae84f1c366eb1d2dc382f8480..8ea7e838c8e820cdfc04ff558d622ba7697ec0dc 100755 (executable)
@@ -3173,6 +3173,8 @@ static irqreturn_t dw_mci_gpio_cd_irqt(int irq, void *dev_id)
         mmc_detect_change(mmc, msecs_to_jiffies(200));
         #endif
 
+        /* wakeup system whether gpio debounce or not */
+        rk_send_wakeup_key();
         queue_work(host->card_workqueue, &host->card_work);
         return IRQ_HANDLED;
 }