clkc->core_phase = 2;
pr_info("%s: try set sd/emmc to DDR mode\n",
mmc_hostname(host->mmc));
- } else if ((timing == MMC_TIMING_MMC_HS)
- && (host->data->chip_type < MMC_CHIP_G12A))
- clkc->core_phase = 3;
- else if ((timing == MMC_TIMING_MMC_HS200)
+ } else if (timing == MMC_TIMING_MMC_HS) {
+ if (host->data->chip_type < MMC_CHIP_G12A)
+ clkc->core_phase = 3;
+ else
+ clkc->core_phase = 2;
+ } else if ((timing == MMC_TIMING_MMC_HS200)
|| ((timing == MMC_TIMING_SD_HS)
&& aml_card_type_non_sdio(pdata))
|| (timing == MMC_TIMING_UHS_SDR104)) {