]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: sdhci-esdhc-imx: add wakeup feature for GPIO CD pin
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 27 May 2020 02:39:35 +0000 (10:39 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 29 May 2020 10:38:00 +0000 (12:38 +0200)
commit88cefc7d65eece7cc8bdc59745dd8ac6ae4ef6b7
treea9062a0802f2cd5364b372639a6f0b327b0b5946
parent64b2dbadda3b4ebf267a66ce866efc3d29a7aa89
mmc: host: sdhci-esdhc-imx: add wakeup feature for GPIO CD pin

When use the specific GPIO to detect the card insert/remove, we can
also add the GPIO as a wakeup source. When system suspend, insert or
remove the card can wakeup the system.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1590547175-15070-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c