Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp666172imm; Wed, 15 Aug 2018 04:07:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw8mtYgzjjnF7c+6vlakRQTxBWTg2wUdTJizjAN6NlPUXV0lUsph+0evAgRfxevqhXUuY/O X-Received: by 2002:a63:c80e:: with SMTP id z14-v6mr24336546pgg.77.1534331250850; Wed, 15 Aug 2018 04:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534331250; cv=none; d=google.com; s=arc-20160816; b=xP/iMHwsnEla2tgE+Uoi2gbUJzSSOZ6LGoHi4PM1n6yAV0sHXVCT0LEQE/d2aVRW+j HKemI+hlFEcs78XnW9Bhy4FXInCYpPYPkXMfiI5gW0wppAcm0Ec6nlrvPj6tvaD77mCT dOnr7iWXAR4UvE59mwrAyiGq9x8sfe0L0fPYnWUrhKaV3CZ78IRHCZkf9gE22mMyuhSI FAmuY0agXPmS83kWiJIH7zNcxmjUe8LrD11wdlZmpjQIqYPBFsy4+6J/+VRjBMYtkDWR +7y45SryfPcx/W4QBXiBooQMc6EuE5NM23wOhJlsGjS2OTQcmgUVlig9WOnJPgZr3mHh sbhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OJ877SZY1ZktoTT6yI6epDGPYDCit5ffhV9TN7QDIvY=; b=l8Qb9/DrH8213mEFCS5ljGTHrbJ9II/TOiW1GTEs6kZeBcRjePeiVXmE2ecLJahx/u 9+fOOjh1TlHayCdOqF9yrbP2bM0VE8+/VNxaF8rPBCFUAL1z+XeFRpK8NV+JCH8sr0Vj CqCtC5b6D21vpqgjPyuJrOHtLoo78S5PYHJPVPTdPmZDDcxcDFBpiTOXlBdllmyq5UUk DqsG2u27paf5z2fO3CgfFij0g6QRkUGBHBbpkGQMLld1dK2fQXhbftNlbglf/n73dZss KVeoAQ+qlYhoICwCJl2GyNOegoedx+k7udBQIE7n9uUXLETTooBdlTaAPWVQ6PJM4H3p lERA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=mwEzniFP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x19-v6si23446213pgl.660.2018.08.15.04.07.14; Wed, 15 Aug 2018 04:07:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=mwEzniFP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729066AbeHON56 (ORCPT + 99 others); Wed, 15 Aug 2018 09:57:58 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35368 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbeHON56 (ORCPT ); Wed, 15 Aug 2018 09:57:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OJ877SZY1ZktoTT6yI6epDGPYDCit5ffhV9TN7QDIvY=; b=mwEzniFPIIvaVBmSF7UvW+Y+s xpJKfNRsvDxkMqB9fcZqwkRA0maC6S0uX/9YkfAlkhB6GUbg5oIngtqSOUYCcUvPqzn/7vpF7iW91 MonjPfKogG84MiKKEm4V2bgp93qfOukIqu+57qtv5PRqNc8U/PbEj5wZA84Hca7yLfKn0=; Received: from [2001:470:1f1d:6b5:7e7a:91ff:fede:4a45] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fptcx-0001bL-Uy; Wed, 15 Aug 2018 11:06:12 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id A8509440078; Wed, 15 Aug 2018 12:06:10 +0100 (BST) Date: Wed, 15 Aug 2018 12:06:10 +0100 From: Mark Brown To: Doug Anderson Cc: David Collins , linux-arm-msm , Bjorn Andersson , Stephen Boyd , Liam Girdwood , LKML Subject: Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max Message-ID: <20180815110610.GX2414@sirena.org.uk> References: <20180814170617.100087-1-dianders@chromium.org> <20180814170617.100087-2-dianders@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ulNsWUvGrZAj8PMr" Content-Disposition: inline In-Reply-To: X-Cookie: Many are called, few volunteer. User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ulNsWUvGrZAj8PMr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 14, 2018 at 01:03:07PM -0700, Doug Anderson wrote: > Specifically I will note that there are boatloads of drivers out there > that use the regulator framework but don't have a call to > regulator_set_load() in them. Are these drivers all broken? I don't > think so. IMO the regulator_set_load() API is an optional call for > drivers that they can use to optimize power usage, not a required API. Very few systems dynamically change modes in the first place, if we were doing this as a matter of course you could claim the drivers were buggy but really it's unusual for it to even be a useful thing to do - as it is it's more an accomodation for a small subset of systems. This does mean that those systems have to pay attention to making sure that everything works well which is unfortunate but it's not unreasonable. Forcing the mode to the highest available would be a step backwards for most systems. --ulNsWUvGrZAj8PMr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlt0CSEACgkQJNaLcl1U h9CWwwf8DyzU0sVGYVNbSZw2aH0SSUeW2Cuy6SmKta24xpoxewOvCTw46iAUMj6X qD4Et23y79goGt6sunMLGFOSgz08lMzzVHD0ffMLKVLm6oLpGUoNtioV5MEruL68 6C6EU69K464hbdYPXYS5k6eRzmyhTVdvpZlq1ncdKv7egRchons8vtoeVf1RHVRG DHuDq+B/rNGmQDjoP4LTiow/j3yC5QQ6oqRVOhx6bXg7oj/LBCJSXWo4B6a+40Vd NiQHLJUJBl2x2GySt4S7puxDlP4dDhlpWYe4rScKTHI1TPLgqzRx0Zn4Fv7yHrEb 9G+2TBSBbGYN6R8nf1o/AtNalTXlfA== =4lkN -----END PGP SIGNATURE----- --ulNsWUvGrZAj8PMr--