]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: Disable low power mode if SDIO interrupts are used
authorDoug Anderson <dianders@chromium.org>
Wed, 25 Jul 2012 15:33:17 +0000 (08:33 -0700)
committerChris Ball <cjb@laptop.org>
Wed, 8 Aug 2012 03:40:32 +0000 (23:40 -0400)
commit9880a85784f9d79e77650ac1d8118d474511f642
tree65e88b743c8a323610113bf5547641cbdf4671ca
parentc02b8b83f9f55a7c2222e3f7269b7811739b326e
mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

The documentation for the dw_mmc part says that the low power
mode should normally only be set for MMC and SD memory and should
be turned off for SDIO cards that need interrupts detected.

The best place I could find to do this is when the SDIO interrupt
was first enabled.  I rely on the fact that dw_mci_setup_bus()
will be called when it's time to reenable.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c