mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mmc: let MFD's provide supported Vdd card voltages to tmio_mmc
Signed-off-by: Guennadi Liakhovetski <[email protected]> Acked-by: Ian Molton <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
8f4b3036d1
commit
a2b14dc961
2 changed files with 5 additions and 1 deletions
|
|
@ -847,7 +847,10 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev)
|
|||
mmc->caps |= pdata->capabilities;
|
||||
mmc->f_max = pdata->hclk;
|
||||
mmc->f_min = mmc->f_max / 512;
|
||||
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
|
||||
if (pdata->ocr_mask)
|
||||
mmc->ocr_avail = pdata->ocr_mask;
|
||||
else
|
||||
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
|
||||
|
||||
/* Tell the MFD core we are ready to be enabled */
|
||||
if (cell->enable) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue