mmc: sdhci: add quirk for keeping card power during suspend
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 7 Feb 2012 12:48:54 +0000 (14:48 +0200)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:08 +0000 (12:20 -0400)
commit6308d2905bd30290d90f28730828fd572161dd11
tree5eedb3ba23a4898c56b1d17794ce3e69006b6f86
parentda721cf7808f9731454757d704f0aa69ae2f1aae
mmc: sdhci: add quirk for keeping card power during suspend

Add quirk SDHCI_QUIRK2_HOST_OFF_CARD_ON to cater for the case when the
card keeps power during suspend but the host controller does not i.e.
the card power is not controlled by the host controller.  In that
case, the controller must be fully reset on resume.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h