Re: [PATCH 1/2] MMC/pxamci: workaround regulator framework bugs

From: David Brownell
Date: Tue Jun 30 2009 - 22:36:42 EST


On Monday 29 June 2009, Mark Brown wrote:
> At the minute the regulator API actually copes pretty well with this -
> the only problem I'm aware of is with drivers like the MMC driver which
> require exclusive control of the regulator.

Which is a fairly typical situation for power-aware drivers.

Which belies your claim that the regulator API "copes pretty well".
It'd be more accurate to say "broken-as-designed", since you have
rejected numerous attempts to fix this, yet not fixed it yourself.


> With other drivers the core
> API can clean up after startup and the drivers never need to worry about
> fixing things up.

MMC isn't particularly unusual. It's just the first place this
type problem tends to come up. Expect more such problelms as
folkl actually try to *use* the regulator framework.



--
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/