]> Git Repo - J-u-boot.git/commitdiff
mmc: zynq_sdhci: Extend UHS timings till hs200
authorAshok Reddy Soma <[email protected]>
Fri, 23 Oct 2020 10:59:03 +0000 (04:59 -0600)
committerMichal Simek <[email protected]>
Thu, 29 Oct 2020 07:55:33 +0000 (08:55 +0100)
Fix the condition to set UHS timings for speeds upto HS200.

Signed-off-by: Ashok Reddy Soma <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
drivers/mmc/zynq_sdhci.c

index d55ba74b2c38deeb201bc2d38381463d0c56ec86..147ecc0d708d31fcded9f74c3024158a6d9a725a 100644 (file)
@@ -539,7 +539,7 @@ static void arasan_sdhci_set_control_reg(struct sdhci_host *host)
        }
 
        if (mmc->selected_mode > SD_HS &&
-           mmc->selected_mode <= UHS_DDR50)
+           mmc->selected_mode <= MMC_HS_200)
                sdhci_set_uhs_timing(host);
 }
 
This page took 0.036552 seconds and 4 git commands to generate.