Re: [PATCH] sdio: add MMC_CAP_VDD_165_195 host capability

Ohad Ben-Cohen
2009-09-28T20:02:44Z

Hi David,

On Mon, Sep 28, 2009 at 8:09 PM, David Vrabel <david.vrabel@csr.com> wrote:

...

> That's a fair amount of work so perhaps in the interim something like this:
>
> --- a/drivers/mmc/core/sdio.c
> +++ b/drivers/mmc/core/sdio.c
> @@ -494,6 +494,9 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr)
>                ocr &= ~0x7F;
>        }
>
> +       if (ocr & MMC_VDD_165_195)
> +               printk(KERN_WARNING "%s: warning: card claims non-standard 1.65-1.95
> V support"
> +
>        host->ocr = mmc_select_voltage(host, ocr);
>
>        /*

Thanks, that would work for us just fine.

FWIW,

Ack-by: Ohad Ben-Cohen <ohad@wizery.com>

Regards,
Ohad.