mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
Subsystems (3)
PATCH v2 1/1 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.
---
Changelog v1->v2:
- Corrected Names of speed modes in commit message
Link to v1: https://lore.kernel.org/all/[email protected]/
drivers/mmc/host/sdhci_am654.c | 2 -- 1 file changed, 2 deletions(-)
drivers/mmc/host/sdhci_am654.c +0 -2
@@ -351,8 +351,6 @@ static void sdhci_am654_write_b(struct sdhci_host *host, u8 val, int reg)*/ case MMC_TIMING_SD_HS :case MMC_TIMING_MMC_HS : -case MMC_TIMING_UHS_SDR12 : -case MMC_TIMING_UHS_SDR25 : val &= ~SDHCI_CTRL_HISPD ; } }
Signature · 1 line
2.34.1
Quoted 8 lines · Bhavya Kapoor
Timing Information in Datasheet assumes that HIGH_SPEED_ENA=1 should be set for SDR12 and SDR25 modes. But
sdhci_am654driver clearsHIGH_SPEED_ENAregister. Thus, Modifysdhci_am654to not clearHIGH_SPEED_ENA(HOST_CONTROL[2]) bit for SDR12 and SDR25 speed modes.Fixes e374e87538f4 ("mmc: sdhci_am654: Clear HISPD_ENA in some lower speed modes")Signed-off-by Bhavya Kapoor <[email protected]>
Applied for fixes and by adding a stable tag, thanks!
Kind regards
Uffe
Quoted 26 lines
---
Changelog
v1->v2:
- Corrected Names of speed modes in commit messageLink to v1: https://lore.kernel.org/all/[email protected]/
drivers/mmc/host/sdhci_am654.c | 2 -- 1 file changed, 2 deletions(-)drivers/mmc/host/sdhci_am654.c +0
-3@@ -351,8 +351,6 @@ static void sdhci_am654_write_b(struct sdhci_host *host, u8 val, int reg)*/ case MMC_TIMING_SD_HS :case MMC_TIMING_MMC_HS : -case MMC_TIMING_UHS_SDR12 : -case MMC_TIMING_UHS_SDR25 : val &= ~SDHCI_CTRL_HISPD ; } } --2.34.1