mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user