From: lintao Date: Sat, 20 Sep 2014 07:37:49 +0000 (+0800) Subject: mmc: cd-gpio: wakeup system wheter debounce or not X-Git-Tag: firefly_0821_release~4651 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c901d947ae7c33568a9a082106637390b64e3506;p=firefly-linux-kernel-4.4.55.git mmc: cd-gpio: wakeup system wheter debounce or not Signed-off-by: lintao --- diff --git a/drivers/mmc/host/rk_sdmmc.c b/drivers/mmc/host/rk_sdmmc.c index a20fec90a7c7..8ea7e838c8e8 100755 --- a/drivers/mmc/host/rk_sdmmc.c +++ b/drivers/mmc/host/rk_sdmmc.c @@ -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; }