Em Qui, 2011-04-21 às 14:49 +0200, Antonio Ospite escreveu:
> On Thu, 21 Apr 2011 13:40:41 +0100
> Mark Brown wrote:
>
> > On Thu, Apr 21, 2011 at 02:27:53PM +0200, Antonio Ospite wrote:
> >
> > > +#ifdef CONFIG_REGULATOR
> > > + host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc");
> > > +
> >
On Thu, 21 Apr 2011 13:40:41 +0100
Mark Brown wrote:
> On Thu, Apr 21, 2011 at 02:27:53PM +0200, Antonio Ospite wrote:
>
> > +#ifdef CONFIG_REGULATOR
> > + host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc");
> > +
> > + if (IS_ERR(host->vcc)) {
> > + host->vcc = NULL;
> > + }
On Thu, Apr 21, 2011 at 02:27:53PM +0200, Antonio Ospite wrote:
> +#ifdef CONFIG_REGULATOR
> + host->vcc = regulator_get(mmc_dev(host->mmc), "vmmc");
> +
> + if (IS_ERR(host->vcc)) {
> + host->vcc = NULL;
> + } else {
> + host->mmc->ocr_avail = mmc_regulator_get
Add support for powering up SD cards driven by regulators.
This makes the mmc_spi driver work also with the Motorola A910 phone.
Signed-off-by: Antonio Ospite
---
drivers/mmc/host/mmc_spi.c | 61 +++
1 files changed, 49 insertions(+), 12 deletions(-)
di
Add support for powering up SD cards driven by regulators.
This makes the mmc_spi driver work also with the Motorola A910 phone.
Signed-off-by: Antonio Ospite
---
drivers/mmc/host/mmc_spi.c | 61 +++
1 files changed, 49 insertions(+), 12 deletions(-)
di