]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-at91: fix wake-up issue when using runtime pm
authorludovic.desroches@atmel.com <ludovic.desroches@atmel.com>
Thu, 17 Mar 2016 13:54:34 +0000 (14:54 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 18 Mar 2016 08:12:32 +0000 (09:12 +0100)
commit8c12b4654e6a0cd9018e5c14407259372c5205b3
tree08e8f6ca5d381dc6563b9cd80139134eccf724d8
parent54bf6c72e367e50830a0ad7e4d9fedf764680812
mmc: sdhci-of-at91: fix wake-up issue when using runtime pm

It is impossible to wake-up on card detect event because when sdhci
controller is runtime suspended, it is assumed that all clocks are
disabled so we can't get irqs.
If the device is removable and there is no gpio to manage the card
detection then polling is used. It doesn't mean card detection is broken.
It is curently we only way to wake-up on card event if using runtime pm.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c