projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b8f3c
)
mmc: cd-gpio: wakeup system wheter debounce or not
author
lintao
<lintao@rock-chips.com>
Sat, 20 Sep 2014 07:37:49 +0000
(15:37 +0800)
committer
lintao
<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
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index a20fec90a7c740cae84f1c366eb1d2dc382f8480..8ea7e838c8e820cdfc04ff558d622ba7697ec0dc 100755
(executable)
--- 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;
}