Skip to content

Commit 2265098

Browse files
b-k-officialstorulf
authored andcommitted
mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
Timing Information in Datasheet assumes that HIGH_SPEED_ENA=1 should be set for SDR12 and SDR25 modes. But sdhci_am654 driver clears HIGH_SPEED_ENA register. Thus, Modify sdhci_am654 to not clear HIGH_SPEED_ENA (HOST_CONTROL[2]) bit for SDR12 and SDR25 speed modes. Fixes: e374e87 ("mmc: sdhci_am654: Clear HISPD_ENA in some lower speed modes") Signed-off-by: Bhavya Kapoor <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent e8d018d commit 2265098

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mmc/host/sdhci_am654.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ static void sdhci_am654_write_b(struct sdhci_host *host, u8 val, int reg)
351351
*/
352352
case MMC_TIMING_SD_HS:
353353
case MMC_TIMING_MMC_HS:
354-
case MMC_TIMING_UHS_SDR12:
355-
case MMC_TIMING_UHS_SDR25:
356354
val &= ~SDHCI_CTRL_HISPD;
357355
}
358356
}

0 commit comments

Comments
 (0)