diff options
| -rw-r--r-- | drivers/mmc/sdhci.c | 3 | ||||
| -rw-r--r-- | include/sdhci.h | 1 | 
2 files changed, 4 insertions, 0 deletions
| diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 7845f873a..b9cbe34f1 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -340,6 +340,9 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)  		return;  	} +	if (host->quirks & SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER) +		sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL); +  	pwr |= SDHCI_POWER_ON;  	sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL); diff --git a/include/sdhci.h b/include/sdhci.h index c44793d5e..cffbe5362 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -225,6 +225,7 @@  #define SDHCI_QUIRK_BROKEN_VOLTAGE	(1 << 4)  #define SDHCI_QUIRK_NO_CD		(1 << 5)  #define SDHCI_QUIRK_WAIT_SEND_CMD	(1 << 6) +#define SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER (1 << 7)  /* to make gcc happy */  struct sdhci_host; |