[alsa-devel] [PATCH 2/2] ASoC: rt5640: enable LDO1 before creating regmap

Mark Brown broonie at kernel.org
Thu Jun 13 19:43:43 CEST 2013

On Thu, Jun 13, 2013 at 09:09:53AM -0600, Stephen Warren wrote:

> This doesn't solve a current failure. It just seems to me that one
> shouldn't create the regmap object until it's actually possible to use it.

That's true but one of the goals with regmap is to be able to just use
the cache with the device powered off (lots of ASoC operation relies on
that for example) - regmap itself shouldn't ever be forcing the device
to be powered on.  One could equally say you shouldn't think about using
the hardware until you've got a regmap object with which to interact
with it, which is clearly the more urgent priority! :P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130613/9c5b2d33/attachment.sig>

More information about the Alsa-devel mailing list