]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb0bc2f8138b03b6c9e3dd892b12523396672598
treef56e5fdd5ba030c74e4a0a73959537cf8254c865
parent060f64c345fd2e05ded98e52187c51138f03b2c5
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