]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: zynq_sdhci: Extend UHS timings till hs200
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 23 Oct 2020 10:59:03 +0000 (04:59 -0600)
committerMichal Simek <michal.simek@xilinx.com>
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 <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
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);
 }