bcm2835-mmc: Don't override bus width capabilities from devicetree

Take out the force setting of the MMC_CAP_4_BIT_DATA host capability
so that the result read from devicetree via mmc_of_parse() is
preserved.
This commit is contained in:
Andrew Litt
2016-01-11 07:54:21 +00:00
parent 02a8ee530e
commit 91f181abcd

View File

@@ -1329,7 +1329,7 @@ static int bcm2835_mmc_add_host(struct bcm2835_host *host)
/* host controller capabilities */
mmc->caps |= MMC_CAP_CMD23 | MMC_CAP_ERASE | MMC_CAP_NEEDS_POLL |
MMC_CAP_SDIO_IRQ | MMC_CAP_SD_HIGHSPEED |
MMC_CAP_MMC_HIGHSPEED | MMC_CAP_4_BIT_DATA;
MMC_CAP_MMC_HIGHSPEED;
host->flags = SDHCI_AUTO_CMD23;