lkml.org 
[lkml]   [2015]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: core: Handle probe deferral from DT when resolving supplies
On Wed, Sep 30, 2015 at 08:30:52PM +0100, Mark Brown wrote:
> When resolving regulator-regulator supplies we ignore probe deferral
> returns from regulator_dev_lookup() (such as are generated for DT when
> we can see a supply is registered) and just fall back to the dummy
> regulator if there are full constraints (as is the case for DT). This
> means that probe deferral is broken for DT systems, fix that by paying
> attention to -EPROBE_DEFER return codes like we do -ENODEV.
>
> A further patch will simplify this further, this is a minimal fix for
> the specific issue.
>
> Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>
> Tested with my famous "I need to leave the house right now so haven't
> even tried building this yet" test plan - please let me know how this
> works for you.

Yes, this works as expected.

Tested-by: Sascha Hauer <s.hauer@pengutronix.de>

Sascha


--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |


\
 
 \ /
  Last update: 2015-10-01 08:01    [W:0.050 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site