sdio: do not ignore MMC_VDD_165_195
This is needed for 1.8V embedded SDIO devices and supporting host controllers (e.g. TI 127x and ZOOM2 boards) Signed-off-by: Ohad Ben-Cohen <ohad@bencohen.org> Acked-by: Matt Fleming <matt@console-pimps.org> Cc: Ian Molton <ian@mnementh.co.uk> Cc: Pierre Ossman <pierre@ossman.eu> Cc: Ian Molton <ian@mnementh.co.uk> Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com> Cc: Philip Langdale <philipl@overt.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f400cd8c84
commit
27cce39f55
|
@ -275,13 +275,6 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr)
|
||||||
ocr &= ~0x7F;
|
ocr &= ~0x7F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ocr & MMC_VDD_165_195) {
|
|
||||||
printk(KERN_WARNING "%s: SDIO card claims to support the "
|
|
||||||
"incompletely defined 'low voltage range'. This "
|
|
||||||
"will be ignored.\n", mmc_hostname(host));
|
|
||||||
ocr &= ~MMC_VDD_165_195;
|
|
||||||
}
|
|
||||||
|
|
||||||
host->ocr = mmc_select_voltage(host, ocr);
|
host->ocr = mmc_select_voltage(host, ocr);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue