mmc: sdhci: add ability to stay runtime-resumed if the card is powered up
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 6 May 2013 09:17:32 +0000 (12:17 +0300)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:23 +0000 (14:23 -0400)
commitf0710a557cb17746b09234f01073a2cdafe4f4a5
treef56e5fdd5ba030c74e4a0a73959537cf8254c865
parent113a87f868b2f2e086790a68e8b9e41d8f0c3295
mmc: sdhci: add ability to stay runtime-resumed if the card is powered up

If card power is dependent on SD bus power then the host controller
must not be runtime suspended while the card is powered up.  Add
the ability to stay runtime-resumed in that case and enable it with a new
quirk SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON.

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