Re: [RFC] Regulator state after regulator_get

From: Mark Brown
Date: Thu Apr 28 2011 - 06:20:10 EST


On Thu, Apr 28, 2011 at 09:44:10AM +0000, kalle.jokiniemi@xxxxxxxxx wrote:

> > Another alternative to the first option you proposed could be to add a
> > flags field to regulator_consumer_supply, and use a flag to recognise
> > regulators which need to be disabled during initialisation. The flag
> > could be set by using a new macro e.g. REGULATOR_SUPPLY_NASTY() when
> > defining the regulator.

> This sounds like a good option actually. Liam, Mark, any opinions?

I'm not sure what "supply_nasty" would mean? This also doesn't seem
like something that we can set up per supply - it's going to affect the
whole regulator state, it's not something that only affects a single
supply.
--
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/