From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753567AbdBUS6b (ORCPT ); Tue, 21 Feb 2017 13:58:31 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:34118 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753278AbdBUS4u (ORCPT ); Tue, 21 Feb 2017 13:56:50 -0500 Date: Tue, 21 Feb 2017 10:56:34 -0800 From: Mark Brown To: Dmitry Torokhov Cc: Liam Girdwood , Guenter Roeck , linux-kernel@vger.kernel.org Message-ID: <20170221185634.hzlsfap4746qev7u@sirena.org.uk> References: <20170213023249.GA27688@dtor-ws> <20170213180129.wutjitdr72klhxwu@sirena.org.uk> <20170213185152.GC20057@dtor-ws> <20170220190258.fympxa43cdrzd44b@sirena.org.uk> <20170221083003.GA21739@dtor-ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vlltzh43tffgtlpk" Content-Disposition: inline In-Reply-To: <20170221083003.GA21739@dtor-ws> X-Cookie: Please go away. User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 67.23.202.154 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v2] regulator: devres: introduce managed enable and disable operations X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vlltzh43tffgtlpk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 21, 2017 at 12:30:03AM -0800, Dmitry Torokhov wrote: > On Mon, Feb 20, 2017 at 11:02:58AM -0800, Mark Brown wrote: > > On Mon, Feb 13, 2017 at 10:51:52AM -0800, Dmitry Torokhov wrote: > But that is what I meant here about managed action. You are not > interacting with managed regulator here, you have managed enable. There > is absolutely nothing preventing you from calling > devm_regulator_enable() on a regulator that was obtained with > regulator_get() (i.e. non-managed). That's not the point, the point is using both devm_regulator_enable() and regulator_enable() and so on. --vlltzh43tffgtlpk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlisjWEACgkQJNaLcl1U h9Ckxgf/cniCexet7F2g/2g+cQ3r7VrO6WiIyeyDN6DiTDKH96DRyEihpHuVKO+O IEC5tgsuLy0QAm4N23qUyUTz3KxSChyV2m8zqde7VcpDjqda4lMYncxO9jplkJPw VWDQiQ6NIo5SOh6Uea3tAbhPbhpRMgrbKP0WkqqMTdAjwJpjp3RQEwAdIYqPgEta eqwDwm0ttK7DHRRo5nOgPRbXcsztgwxAiL477dIvzLDriASxpchK05KcNy7Pu9jN YtNLA2Orte1fSxz19V4uCotRw2dlzUQxVngBDyoLhRcLoZW6CctoQIAiAOMk178/ KL7/VVTednRT6fhAJxxA/MMqKgvsXg== =LAkW -----END PGP SIGNATURE----- --vlltzh43tffgtlpk--