From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932783AbbI3T0U (ORCPT ); Wed, 30 Sep 2015 15:26:20 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:59578 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932313AbbI3T0S (ORCPT ); Wed, 30 Sep 2015 15:26:18 -0400 Date: Wed, 30 Sep 2015 20:26:13 +0100 From: Mark Brown To: Sascha Hauer Cc: linux-kernel@vger.kernel.org, Liam Girdwood , kernel@pengutronix.de, alkml@pengutronix.de Message-ID: <20150930192613.GA15635@sirena.org.uk> References: <1443621474-2191-1-git-send-email-s.hauer@pengutronix.de> <1443621474-2191-2-git-send-email-s.hauer@pengutronix.de> <20150930180213.GL15635@sirena.org.uk> <20150930184812.GE7858@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6ysXqiu0yoUmUNJB" Content-Disposition: inline In-Reply-To: <20150930184812.GE7858@pengutronix.de> X-Cookie: Give him an evasive answer. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 2a01:348:6:8808:7e7a:91ff:fede:4a45 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/6] Revert "regulator: core: Handle full constraints systems when resolving supplies" 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 --6ysXqiu0yoUmUNJB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 30, 2015 at 08:48:12PM +0200, Sascha Hauer wrote: > During boot the fsl,imx6q-gpc is probed and tries to get its regulator. > fsl,anatop-regulator is already registered, the dlg,da9063 is not. The > call to regulator_get tries to resolve the supply using > regulator_resolve_supply. regulator_resolve_supply then calls > regulator_dev_lookup which returns NULL because the supply (vddsoc_reg) > is specified in the device tree but not yet present. &ret is correctly > filled with -EPROBE_DEFER in this case, but this is ignored. Instead due > to 9f7e25edb157 the dummy regulator is used. This case worked before > 9f7e25edb157. Ah, I see - yes that's a bug. Untested patch incoming, let me know if that works. --6ysXqiu0yoUmUNJB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWDDdUAAoJECTWi3JdVIfQKWsH+gMuHySGqJyVS/ilavkXm1Q6 HiWig6suKQMMDoLkwhWK522mK7pEieG7RZwQ3kzPfa3kv62Q438pH5BHYFNsOLCy SNdAtZVm+WXNyglQWJNd7IKuBFoOk2svDnIerxHmytvY2R3DkGWcTafMq9Rh9CVa Ywdgo5Vt2jBOsTkkH4yvdp79Ox3sMwCbhaiyAATftbJOs1HOvKLISeKo8kszupjJ Bqv3nbgMviYrF+vNyVTgkqp36tEnWY0M7cuIJho5oEde51OoHeC2zyD6aIZY8JYo FhnfDblXIYN+jZ7oENieQ/xNpaNLPEsgS7KJnah80MBX6QcyBtamqauMj3dhZio= =lrjy -----END PGP SIGNATURE----- --6ysXqiu0yoUmUNJB--