[PATCH 2/2] ASoC: sgtl5000: clean up sgtl5000_enable_regulators()

Mark Brown broonie at kernel.org
Mon Dec 16 20:59:39 EST 2013


On Mon, Dec 16, 2013 at 07:29:12PM +0800, Shawn Guo wrote:
> On Mon, Dec 16, 2013 at 03:31:29AM +0000, Li.Xiubo at freescale.com wrote:

[Deferring probe in non-DT cases]
> > Where should this special handling be dealt with ? Is here or regulator_get_optional()
> > will be better ?

> Anyway, this is another issue which should be addressed in regulator
> core, IMO.

It's something that the platform needs to address - the core has no way
of figuring out what devices might register in future if the platform
doesn't tell them.  With DT we can do that because you can't create a
device without providing information about what supplies will be made
avaialable, other systems may be able to do the same thing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131217/c1b02bf5/attachment.sig>


More information about the linux-arm-kernel mailing list