Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754930AbcDKM6X (ORCPT ); Mon, 11 Apr 2016 08:58:23 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:60116 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754559AbcDKM6V (ORCPT ); Mon, 11 Apr 2016 08:58:21 -0400 Date: Mon, 11 Apr 2016 13:58:14 +0100 From: Mark Brown To: Thierry Reding Cc: Jon Hunter , Liam Girdwood , linux-kernel@vger.kernel.org, Javier Martinez Canillas Message-ID: <20160411125814.GE3351@sirena.org.uk> References: <1460038959-21592-1-git-send-email-thierry.reding@gmail.com> <570B8376.6030505@nvidia.com> <20160411114612.GD17743@ulmo.ba.sec> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2hMgfIw2X+zgXrFs" Content-Disposition: inline In-Reply-To: <20160411114612.GD17743@ulmo.ba.sec> X-Cookie: I invented skydiving in 1989! User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/5] regulator: core: Resolve supply earlier X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1562 Lines: 41 --2hMgfIw2X+zgXrFs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 11, 2016 at 01:46:12PM +0200, Thierry Reding wrote: > On Mon, Apr 11, 2016 at 11:59:02AM +0100, Jon Hunter wrote: > > Also, if we add this call, then I am wondering if we still need ... > >=20 > > class_for_each_device(®ulator_class, NULL, NULL, > > regulator_register_resolve_supply); > Possibly not. That line was introduced to hook up existing orphan > regulators with their parents when they were registered, but I guess > since we now always defer probe if a parent isn't registered yet the > line would become a no-op. That then takes us right the way back to the original problem where people we're getting upset at the number of probe deferrals they were seeing and more importantly we didn't have any way of sorting out dependencies within a single PMIC if the parents weren't registered before their children. --2hMgfIw2X+zgXrFs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXC59lAAoJECTWi3JdVIfQOp0H/i0Jg1ohsMB8hrHPJK07Ilu4 lNBLS27gcAwgITiuUm6ap8+iRMdguYo6LRxZ/pljpgXprls6hzKOJPiEVH0x24lP Gn5lGt3QAXKM/jeOthXhRqmEsXrxVoYZMAlit8JC/5EjB5LsrgbYqIxmLAGw+NwR 8IksdO5Z5i2ZCoXosnhUxlWJxSZFzsVm4PtywJ+ylDm4dc9QmzZQKMZAHON/SML2 YJZ3E4RYowuq39b+nk8cbNZnI2iAAEmfckqbdyQQGyVzzzaOEIT+8uEFQ+YNtruV QGyVyfqJafhdwJs+AXJ+AEUNTQGxYLC/YZJ5+ZDDXQjyTWpmtgCneUKSWnLWi2c= =imrH -----END PGP SIGNATURE----- --2hMgfIw2X+zgXrFs--