]> git.baikalelectronics.ru Git - kernel.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)
commit07d375207f194546121e705c4d67fe120e4f7ead
tree71441fdd2571d4262830a8562dbd6aa06f07785e
parenta96d0504933270aa4fb3c915822314832f88734d
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