Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7977431rwl; Thu, 23 Mar 2023 10:59:01 -0700 (PDT) X-Google-Smtp-Source: AKy350aREpnX66+ZxjXdz/LSheiViEA1LmjA1mBCcBchI/Xv9SlWljUEj+ePwL5X1FT7NbjOB4s2 X-Received: by 2002:aa7:c141:0:b0:4fa:ada1:796d with SMTP id r1-20020aa7c141000000b004faada1796dmr279810edp.10.1679594340983; Thu, 23 Mar 2023 10:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679594340; cv=none; d=google.com; s=arc-20160816; b=E3i2EgVmUYybi7OQZp4pfsVkwpVZyIpaDc3N2TmpqgnB9LgfdLwWuIUQn4r2T/nwg0 phrmTYbZkp4lkNO4JKnRPHbU9Tm5YpQhPc3w5CqZCD7KN/AIDlLuiSHCmvytn8r6CFve VWhHHfWHA+XWbe40bLArvRTCbVYuFQOcLlLWCnfW5NBaLLYY4fBIJZYxmQP/3xZtONW3 BsOXeP63lqJ3hQXfjde0RsVlj5F+f0CkUx5CEFW9zWPBmF4DahIPkSau0w0pw8Lo4PHk VrycO/QNfwmTw4TbMFPbwfyBGME0GgNVp24LWbOZ1uYyGf287NUGjuipq1AsThutly0g K0LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N7fwYApR0gf/NiLukZ2JUYkUJ3VsCz9GFyAA2hlGVhc=; b=OScHOklH/wHNdcKuDkwvfL6PRT7xL6KJVxcAUZBVGqiI59myh8WNkhO0sSkiBiu4VR MkjkBzV4QGvg5q8RkwZZjMgrsqCB5G1a808ArvfSl4j4fIa0jg0+liRcTsXwPZ8EMizc ugnTp/8OARUil3GPoCrl0f88Krim1/idEPGS48HudzMHBlsWIKpdX2S/ojE356WyfI7Z L4Bc4iC4UA2JLWjrWhwZtRE59xK0vnnd3qk4pn0dCuUlTfzP8SUPwYkhBWcGWMjLdFOm akD+mWdjAUFrYckRBnegddwoMHgYLqsHilqQ6AoElAT+5ZyOrpChRgZbvkaK2Ihet7UE 5TCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgMc4FpX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020aa7c515000000b005002ebedfc7si2400381edq.403.2023.03.23.10.58.04; Thu, 23 Mar 2023 10:59:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgMc4FpX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbjCWRtj (ORCPT + 99 others); Thu, 23 Mar 2023 13:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjCWRth (ORCPT ); Thu, 23 Mar 2023 13:49:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95645234F7; Thu, 23 Mar 2023 10:49:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3823DB821E4; Thu, 23 Mar 2023 17:49:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43F50C4339B; Thu, 23 Mar 2023 17:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679593773; bh=N7fwYApR0gf/NiLukZ2JUYkUJ3VsCz9GFyAA2hlGVhc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tgMc4FpXtppipw3zLSRU/cHNKMPva4oQ9xNSeZ94pJsYdwHAc5rgo6Eb78moQalYs Kq5atTB++ZkyHY8eKkCpYcBycusHeK375KQWVmWQP7iATP8leZ39k698F7sAO2CqZg LGWT0OCn6i+ouJfef9aTPM0P0TSoCvhldKM+TQpbt1qX1eMOybkEplHVjcp22MMnK7 VW9gbNsiOsAGlD1OlwOalKh5VqHH8pi9KA8j8/SJGTyCk0ITZ0lmhbzxcovtBtjTlu 9jlp7VD3ZPUuDTi6eI3ncLXPe8JKsytx5MEoWB0I4Z/eUKIZlSQGl9Q9xw9QI/85wd chQAmLEuLasdw== Date: Thu, 23 Mar 2023 17:49:28 +0000 From: Mark Brown To: Charles Keepax Cc: Doug Anderson , Marek Szyprowski , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Liam Girdwood , patches@opensource.cirrus.com Subject: Re: [PATCH] regulator: wm8994: Use PROBE_FORCE_SYNCHRONOUS Message-ID: References: <20230323083312.199189-1-m.szyprowski@samsung.com> <20230323114035.GL68926@ediswmail.ad.cirrus.com> <20230323174531.GM68926@ediswmail.ad.cirrus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DJ7RTdhO6rre3xA0" Content-Disposition: inline In-Reply-To: <20230323174531.GM68926@ediswmail.ad.cirrus.com> X-Cookie: A lie in time saves nine. X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --DJ7RTdhO6rre3xA0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 23, 2023 at 05:45:31PM +0000, Charles Keepax wrote: > I think really the best place to look at this would be at the > regulator level. It is fine if mfd_add_devices passes, the problem > really is that the regulator core doesn't realise the regulator is > going to be arriving, and thus returns a dummy regulator, rather > than returning EPROBE_DEFER. If it did the MFD driver would probe > defer at the point of requesting the regulator, which would all > make sense. You need the MFD to tell the regulator subsystem that there's a regulator bound there, or to force all the users to explicitly do the mapping of the regulator in their firmwares (which isn't really a viable approach). --DJ7RTdhO6rre3xA0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmQckScACgkQJNaLcl1U h9ARmwf/RTIEAxiYOZoohVED3bnRZ4HV3UoBNyUMhmxrfeUNPubx78Q45wSQjBM3 FsSxiJF41u5STnARRc2nrgPO+SacqVfcsQ+/wgFvftbyh4/MeWxrK4FUc74eZPYb kVO/rOY9UWmqIo80L7C5cayYcTUau1Iy8abkk+Jshjg1H+vU0fh8gbZ9SeWCb8d1 XevjCbzc17W5Kqz8MuHp6+2WlR/jGtMhUXSbb/KLCNeDZd9AiKrU53b7QKinxsX8 3FL2D3XBhQXTBK3/1fN5WIbX6yPXF/X0ht3pMTZDChxvrnWHA+OM9lTTa0GT86WQ 5330mwUufVxHeClGRpt5keu7ZMLK/w== =n04P -----END PGP SIGNATURE----- --DJ7RTdhO6rre3xA0--