From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934719AbbHJKZn (ORCPT ); Mon, 10 Aug 2015 06:25:43 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:37176 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934670AbbHJKZi (ORCPT ); Mon, 10 Aug 2015 06:25:38 -0400 Date: Mon, 10 Aug 2015 11:25:15 +0100 From: Mark Brown To: Tomeu Vizoso Cc: Grygorii Strashko , Rob Herring , "devicetree@vger.kernel.org" , Arnd Bergmann , Stephen Warren , Javier Martinez Canillas , Linus Walleij , Dmitry Torokhov , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , Rob Herring , Thierry Reding , "linux-arm-kernel@lists.infradead.org" Message-ID: <20150810102515.GA1965@sirena.org.uk> References: <1438870315-18689-1-git-send-email-tomeu.vizoso@collabora.com> <1438870315-18689-2-git-send-email-tomeu.vizoso@collabora.com> <55C4E597.1010701@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: X-Cookie: Don't I know you? User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v3 01/18] platform: delay OF device-driver matches until late_initcall 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 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Aug 09, 2015 at 03:03:14PM +0200, Tomeu Vizoso wrote: > There was some recent thread about how the disabling of unused clocks > and regulators isn't really safe because after late_initcall_sync more > drivers can be registered from modules. Furthermore, there's async > device probes. What recent thread and why would that be unsafe? Any driver using a clock or regulator ought to be making sure that the clock or regulator is enabled before it tries to use it. The worst that should happen is that something gets the power bounced during boot which isn't the end of the world. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVyHwIAAoJECTWi3JdVIfQQ2kH/2CXryctZQKKgrOBprylvRft nvGYcjSHlDneB5K1SXy3M8Rwl+Yf2W6lc1D0pUnr2HJwa/VIvR7U93lKlK1YkEkL E8GCOVGRey1sXKS+opZHI9m1bDsJQHr+H+RhcseHnm2I/uK5xLj3fJ8NgWI+ZVP+ 7NfgAvMD0hNkKYaaOxAoo/yWKd1uk1FQaosaxkswzZ0YqzG5v1g2LtouG1zKN63z xjn7LFy2A5TGVjPJC+JWrA+L76mdYvtxueWnLwFJM5S+ke2dK4FX42YuQ8JsOJCi IFzNEhlhjEGrwh1unTIKTBKim58+ypq62qgG0Elf4XSMpYX7hRlnR+aNTsN/Oq4= =LVVD -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--