mmc: move cap with hs200 to caps
authorlintao <lintao@rock-chips.com>
Fri, 12 Sep 2014 10:06:18 +0000 (18:06 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 12 Sep 2014 10:07:07 +0000 (18:07 +0800)
Signed-off-by: lintao <lintao@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c

index b09e0333e91b78cef65aa736be22f975958e3d7e..41e3c20573afd5f88d7d4804480c7f0653d60f03 100755 (executable)
@@ -1112,7 +1112,7 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit)
                          */
                         if ((div == 0) &&
                                 (host->mmc->caps & (MMC_CAP_1_8V_DDR | MMC_CAP_1_2V_DDR)) &&
-                                !(host->mmc->caps & MMC_CAP2_HS200)) {
+                                !(host->mmc->caps2 & MMC_CAP2_HS200)) {
                                 /*  Fixup DDR MMC */
                                 div = 1;
                                 host->set_div = div;