]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/stm32_sdmmc2.c
x86: timer: tsc: Allow specifying clock rate from device tree again
[u-boot] / drivers / mmc / stm32_sdmmc2.c
index 11cc438ce6a13aefc76b9f9ad9c9457c1347671b..e8292c438d9f712503f79bcc0776cab6ff9aebf1 100644 (file)
@@ -235,8 +235,8 @@ static void stm32_sdmmc2_start_data(struct stm32_sdmmc2_priv *priv,
 static void stm32_sdmmc2_start_cmd(struct stm32_sdmmc2_priv *priv,
                                   struct mmc_cmd *cmd, u32 cmd_param)
 {
-       if (readl(priv->base + SDMMC_ARG) & SDMMC_CMD_CPSMEN)
-               writel(0, priv->base + SDMMC_ARG);
+       if (readl(priv->base + SDMMC_CMD) & SDMMC_CMD_CPSMEN)
+               writel(0, priv->base + SDMMC_CMD);
 
        cmd_param |= cmd->cmdidx | SDMMC_CMD_CPSMEN;
        if (cmd->resp_type & MMC_RSP_PRESENT) {