Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4643935ybp; Mon, 7 Oct 2019 11:30:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7in4BWFGfcIWESy5+yV2lOOKBOp3MMLmLQQy+mp8n1yDOeauemeBsxBFLabAYZLXuYEn+ X-Received: by 2002:aa7:c40c:: with SMTP id j12mr30850536edq.284.1570473058187; Mon, 07 Oct 2019 11:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570473058; cv=none; d=google.com; s=arc-20160816; b=s0gL1IwU9+5jGr1zsSQBRHNunaMnX5oFX0NGXrAkKcY4+J5dmHxH0mx1iyA39zJCIG +SeAj5lFENGZcPawBY7PBKJPw/bO5CLTb67MrthPT41oslqYpm6vmOqUYL9JFn04YimE 0fTIaaNgor8IbfSc4cMXiny6N6dQK0dGwADpbv5/wag/FvqsNBzW8aAq3kPVMNIAwlcy DpungyRQqsjZGHsagJt0ioklLTqC5RhuHoRaHrwNkPY/serLGlRSm7Kx/VjRgW9inDOX mWPgc0Hu0pm0mmCS3HHwBJ65on+G4H2m7XQIoYH3iJAaR2+jYt5ngQOAQeSRO5oQbCBg FtZA== 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; bh=yl70Oot1t06uboGKIaxzSOy9Y0hQUh2wOeALq6ArFjs=; b=S6z9vFD9C+TcdABRSD/eFjOcx3yub+bGO0imwJGuP6/69TsX3Th4Lw9bbHZe1fXhRC 12DT3JHT8g3dVwvQRyG8emcwl3x5ku/dwhkSzqlncBnsx52q0DS3brg4EhuL0+ngMW9b Yj3IRQ/TXzR1mRjmOH/gIEFER6aZAJAGiNnk3BGpV0xMMM5VNuz0mxErrOfQfMso+CWa 9H+BwR/I8qzzBCYDulzEXCc6j/03dl/Nae0JIJgTdCDYxmkp4LrQLn2LPEx/tNUsFjRq dYhyovS1jlURWAGMsli+NNAWJtFkXzxv7GkbTLElprr7Idtkm+xoGc9Maq4A06Jnnlb8 YTJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bYyFSrHU; 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 a14si10249226eda.111.2019.10.07.11.30.34; Mon, 07 Oct 2019 11:30:58 -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=bYyFSrHU; 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 S1729434AbfJGS3O (ORCPT + 99 others); Mon, 7 Oct 2019 14:29:14 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:60574 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728031AbfJGS3O (ORCPT ); Mon, 7 Oct 2019 14:29:14 -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=yl70Oot1t06uboGKIaxzSOy9Y0hQUh2wOeALq6ArFjs=; b=bYyFSrHUmXNp+KhxzMxxvfVVB inmk6mETl7SSgkcFUhJSFe5RJHsk3bllb9BLtfN51sRZl76cZ4RaZAgNUX3h+FSXDNcsPPxt0xiyh B+mVRH75svGlFV9tLSadsXh1ZFO19JL+H1GpWEhY/MYXOW0Fhv3N9grSP421OhihRvyV0=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iHXkq-0004J6-SL; Mon, 07 Oct 2019 18:29:08 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 1FAA1274162F; Mon, 7 Oct 2019 19:29:08 +0100 (BST) Date: Mon, 7 Oct 2019 19:29:07 +0100 From: Mark Brown To: Marco Felsch Cc: Doug Anderson , Chunyan Zhang , Liam Girdwood , ckeepax@opensource.cirrus.com, LKML , Sascha Hauer Subject: Re: [PATCH 1/3] regulator: core: fix boot-on regulators use_count usage Message-ID: <20191007182907.GB5614@sirena.co.uk> References: <20190923181431.GU2036@sirena.org.uk> <20190923184907.GY2036@sirena.org.uk> <20190924182758.GC2036@sirena.org.uk> <20190927084710.mt42454vsrjm3yh3@pengutronix.de> <20191007093429.qekysnxufvkbirit@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline In-Reply-To: <20191007093429.qekysnxufvkbirit@pengutronix.de> X-Cookie: Death to all fanatics! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 07, 2019 at 11:34:29AM +0200, Marco Felsch wrote: > Sorry that won't fix my problem. If I drop the regulator-boot-on state > the fixed-regulator will disable this regulator but disable/enable this > regulator is only valid during suspend/resume. I don't say that my fix > is correct but we should fix this. I'm having a bit of trouble parsing this but it sounds like you want the regulator to be always on in which case you should use the property specifically for that. --0ntfKIWw70PvrIHh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl2bg/MACgkQJNaLcl1U h9AQyAgAhaE0zTQ3E+XqQpHTgiDjY+4Fli/jzRMKzOgpJe/Dhb/SZ+ZUJ71oCOdq 4i6GiVeAl7hDydIMgGrJ9tlNKvRA/iF7tD4fhI3FE0UdWD/5TkGq05otqT7Uad97 uwXgBFdrUOGgYZPQXovdyzJ51yLmS1UM/5gAB5lfwTs1U4SdgFGn417oJoV+0qXX Fto634EXX6Z/W8DITYzm50c5dQzeaqb87e60NCAeSHguyst2KTPsto/b8T+ghZrg X8+GXIIIxmX+wTMeLEIHSELJ7S/eReSVQD9Rmdce3Tg1kkNIjfnDTiIZsoCQiYbl b5moGZ4fNUrJEpWGv1HPQnhcRTmxXw== =UGD8 -----END PGP SIGNATURE----- --0ntfKIWw70PvrIHh--