From fd532f419548da75f3e297cd54bec8889d763870 Mon Sep 17 00:00:00 2001 From: Volodymyr Babchuk Date: Wed, 3 Jan 2018 21:29:35 +0200 Subject: [PATCH] HACK: disable UHS mode on all MMC controlers This clear hack is needed for RCAR boards, where SDHCI causes problems, when it works in UHS (Ultra High Speed) mode. Signed-off-by: Volodymyr Babchuk Reviewed-by: Oleksandr Andrushchenko --- include/linux/mmc/host.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 28e2f53c7c4dec..a5bd173817e2d9 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -490,9 +490,7 @@ static inline int mmc_boot_partition_access(struct mmc_host *host) static inline int mmc_host_uhs(struct mmc_host *host) { return host->caps & - (MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | - MMC_CAP_UHS_SDR50 | MMC_CAP_UHS_SDR104 | - MMC_CAP_UHS_DDR50); + 0; } static inline int mmc_host_packed_wr(struct mmc_host *host)