Commits

Dong Aisheng committed 0aa8f29a4cc
MLK-12168 mmc: sdhci: check SDHCI_QUIRK2_NO_1_8_V when do voltage switch Currently when card type supports EXT_CSD_CARD_TYPE_DDR_1_8V which means can work on DDR mode with either 3.3v IO or 1.8v IO voltage, unlike before, currently MMC core will first try 1.8v then 3.3v. And the host driver voltage switch code does not check NO_1_8_V quirk which may set a wrong 1.8v and causes the card unwork. Checking 1.8V quirk before setting it to avoid such issue. Note: This is a quick workaround solution. Directly putting the quirk check in host layer is not very good. (That quirk is going to be deprecated) and current MMC core does not support 3.3V DDR mode well, need further restructure later. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>