]> git.karo-electronics.de Git - linux-beck.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>
Tue, 4 Sep 2012 17:58:10 +0000 (13:58 -0400)
commit9623b5b9192b349bcadb31cce159072a78ac6972
tree71441fdd2571d4262830a8562dbd6aa06f07785e
parente74f3a9c993a088f0a067e13941075e4acb7300a
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