sdio: After the TXLX IC is changed to use the fixed adj way to tuning
authorLong Yu <long.yu@amlogic.com>
Wed, 5 Sep 2018 06:10:18 +0000 (14:10 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 18 Sep 2018 10:38:40 +0000 (03:38 -0700)
PD#171973: sdio: After the TXLX IC is changed to use the fixed adj way to tuning

Change-Id: I986812841d0ef86bb801f3fd4d37d6f2f38fce05
Signed-off-by: Long Yu <long.yu@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc_v3.c

index 8b0bbe0..f64a0e8 100644 (file)
@@ -1419,9 +1419,7 @@ int aml_mmc_execute_tuning_v3(struct mmc_host *mmc, u32 opcode)
        }
 
        if (aml_card_type_sdio(pdata)) {
-               if ((host->data->chip_type == MMC_CHIP_GXLX)
-                               || (host->data->chip_type == MMC_CHIP_G12A)
-                               || (host->data->chip_type == MMC_CHIP_G12B))
+               if (host->data->chip_type >= MMC_CHIP_TXLX)
                        err = _aml_sd_emmc_execute_tuning(mmc, opcode,
                                        &tuning_data, adj_win_start);
                else {