Skip to content

Commit

Permalink
HACK: disable UHS mode on all MMC controlers
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Oleksandr Andrushchenko <[email protected]>
  • Loading branch information
lorc committed Jan 3, 2018
1 parent 4b309d0 commit fd532f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fd532f4

Please sign in to comment.