Skip to content

Commit 0de9125

Browse files
Weijun Yangstorulf
authored andcommitted
mmc: sirf: fix the capbility to support DDR50
According to hardware spec, validate DDR50 mode for SDXC. Signed-off-by: Weijun Yang <[email protected]> Signed-off-by: Barry Song <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 9faac7b commit 0de9125

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mmc/host/sdhci-sirf.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ static u32 sdhci_sirf_readl_le(struct sdhci_host *host, int reg)
5050
if (unlikely((reg == SDHCI_CAPABILITIES_1) &&
5151
(host->mmc->caps & MMC_CAP_UHS_SDR50))) {
5252
/* fake CAP_1 register */
53-
val = SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING;
53+
val = SDHCI_SUPPORT_DDR50 |
54+
SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING;
5455
}
5556

5657
if (unlikely(reg == SDHCI_SLOT_INT_STATUS)) {

0 commit comments

Comments
 (0)