Loading drivers/mmc/core/sd.c +8 −0 Original line number Original line Diff line number Diff line Loading @@ -816,6 +816,14 @@ int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) if (!err) if (!err) ocr |= SD_OCR_CCS; ocr |= SD_OCR_CCS; /* * If the host supports one of UHS-I modes, request the card * to switch to 1.8V signaling level. If the card has failed * repeatedly to switch however, skip this. */ if (retries && mmc_host_uhs(host)) ocr |= SD_OCR_S18R; /* /* * If the host can supply more than 150mA at current voltage, * If the host can supply more than 150mA at current voltage, * XPC should be set to 1. * XPC should be set to 1. Loading Loading
drivers/mmc/core/sd.c +8 −0 Original line number Original line Diff line number Diff line Loading @@ -816,6 +816,14 @@ int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) if (!err) if (!err) ocr |= SD_OCR_CCS; ocr |= SD_OCR_CCS; /* * If the host supports one of UHS-I modes, request the card * to switch to 1.8V signaling level. If the card has failed * repeatedly to switch however, skip this. */ if (retries && mmc_host_uhs(host)) ocr |= SD_OCR_S18R; /* /* * If the host can supply more than 150mA at current voltage, * If the host can supply more than 150mA at current voltage, * XPC should be set to 1. * XPC should be set to 1. Loading