|
@@ -1231,25 +1231,6 @@ int mmc_attach_sd(struct mmc_host *host)
|
|
|
goto err;
|
|
|
}
|
|
|
|
|
|
- /*
|
|
|
- * Sanity check the voltages that the card claims to
|
|
|
- * support.
|
|
|
- */
|
|
|
- if (ocr & 0x7F) {
|
|
|
- pr_warning("%s: card claims to support voltages "
|
|
|
- "below the defined range. These will be ignored.\n",
|
|
|
- mmc_hostname(host));
|
|
|
- ocr &= ~0x7F;
|
|
|
- }
|
|
|
-
|
|
|
- if ((ocr & MMC_VDD_165_195) &&
|
|
|
- !(host->ocr_avail_sd & MMC_VDD_165_195)) {
|
|
|
- pr_warning("%s: SD card claims to support the "
|
|
|
- "incompletely defined 'low voltage range'. This "
|
|
|
- "will be ignored.\n", mmc_hostname(host));
|
|
|
- ocr &= ~MMC_VDD_165_195;
|
|
|
- }
|
|
|
-
|
|
|
rocr = mmc_select_voltage(host, ocr);
|
|
|
|
|
|
/*
|