Re: [PATCH 3/5] regulator: arizona-ldo1: Move setup processing from arizona-core

From: Charles Keepax
Date: Wed Mar 19 2014 - 05:09:36 EST


On Tue, Mar 18, 2014 at 05:44:30PM +0000, Mark Brown wrote:
> On Tue, Mar 18, 2014 at 05:22:31PM +0000, Charles Keepax wrote:
>
> > - /*
> > - * LDO1 can only be used to supply DCVDD so if it has no
> > - * consumers then DCVDD is supplied externally.
> > - */
> > - if (arizona->pdata.ldo1 &&
> > - arizona->pdata.ldo1->num_consumer_supplies == 0)
> > - arizona->external_dcvdd = true;
> > -
>
> Actually now that I look at this again one issue here - the reason this
> is in the core is that if the system is using an external DCVDD it may
> not be building the regulator driver at all (it won't do anything at
> runtime) so the flag would never get set if it's done by the regulator
> driver.

Ah... missed that. I will respin again.

Thanks,
Charles

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/