[alsa-devel] [PATCH 6/8] RX-51: Audio: Add usage of regulator framework to control VMMC2

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 19 11:24:09 CEST 2009

On Mon, Oct 19, 2009 at 10:23:32AM +0100, Mark Brown wrote:
> On Mon, Oct 19, 2009 at 12:13:00PM +0300, Eduardo Valentin wrote:

> > Might be a stupid question probably because of my lack of knowledge of
> > regulator framework, but if the driver code must be written in such a
> > way that it requires all regulators for its supplies, then what
> > happens with those which are grounded? How do you provide the
> > regulator_init_data in this case (where the supply is actually grounded) ?

> That sounds like a fixed voltage regulator.  Though for a device where
> some of the supplies are optional if the driver needs to know about it
> it may make more sense to have the driver know about that and only
> request supplies which it will use.

...or possibly just handle the error when it fails to obtain them.
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the Alsa-devel mailing list