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

Shawn Guo shawn.guo at linaro.org
Mon Dec 16 21:16:13 EST 2013


On Tue, Dec 17, 2013 at 01:59:39AM +0000, Mark Brown wrote:
> 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.

Okay.  But is there an established means for platform to tell that?

Shawn

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




More information about the linux-arm-kernel mailing list