Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701dcef7 authored by Lars Persson's avatar Lars Persson Committed by Ulf Hansson
Browse files

mmc: usdhi6rol0: do not announce UHS capabilities



The driver in its current form does not support UHS at all due to
a missing start_signal_voltage_switch callback.

Also when this callback is added we should let the device tree control
UHS capabilities using the standard mmc bindings.

Signed-off-by: default avatarLars Persson <larper@axis.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f0be051e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1785,7 +1785,7 @@ static int usdhi6_probe(struct platform_device *pdev)

	mmc->ops = &usdhi6_ops;
	mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
		MMC_CAP_UHS_SDR50 | MMC_CAP_UHS_DDR50 | MMC_CAP_SDIO_IRQ;
		     MMC_CAP_SDIO_IRQ;
	/* Set .max_segs to some random number. Feel free to adjust. */
	mmc->max_segs = 32;
	mmc->max_blk_size = 512;