diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2012-02-07 14:48:54 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:20:08 -0400 |
commit | 6308d2905bd30290d90f28730828fd572161dd11 (patch) | |
tree | 5eedb3ba23a4898c56b1d17794ce3e69006b6f86 /include/linux/mmc | |
parent | da721cf7808f9731454757d704f0aa69ae2f1aae (diff) |
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>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index c750f85177d..e9051e1cb1c 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -90,6 +90,8 @@ struct sdhci_host { unsigned int quirks2; /* More deviations from spec. */ +#define SDHCI_QUIRK2_HOST_OFF_CARD_ON (1<<0) + int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ |