Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1166861lql; Tue, 12 Mar 2024 09:03:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfouDF/BnUeEHG9eOev/JOB73cIiEFOLHfpf12KZRjl30EAYOFOpTXWMpNaQm7LYwbolm1Z0g9K58RayBpXrdKyrT4/5Fr25AHUzeCvA== X-Google-Smtp-Source: AGHT+IF/8OZmI7YvRGt6M3ZekQOLIARj258t/DFbzjBkcFgNYqEp4tExHp6459Wg+4NJ0SqL6z3x X-Received: by 2002:a17:90a:9a97:b0:299:300c:4c71 with SMTP id e23-20020a17090a9a9700b00299300c4c71mr6818987pjp.28.1710259407980; Tue, 12 Mar 2024 09:03:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710259407; cv=pass; d=google.com; s=arc-20160816; b=wTutpbxxDJY5anFyn8c1fnVkWNp+u5ciPDA8NU+tsIwngDq1aPCkAD3vv7zRE3WvN1 3oMeCDnL5T4qgNYorzbWN3CvSIXJvgrdsjjTlqGgHzmIR++o11e6lsuB4Be/Sd4vLMqF CjD/uDSTIWB9hKqsLFOgLMmnbHQs69qZdn7FExbq/klCzobeQT/L0jkDj3+QGfV83TMn v/b6rWFyAqK4tm39EB3Rd4Q+c/uzph/k02uWm5wy8UNW7fz1h+TV2cez2qlRRkKVUJgO 0SfC+UGYF3OdJSZjyc5t3Z6wF5CEPXY1ztblP4yxxkkzK7eKKVUDgGmoFlHKcqVCYizO Barw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=fwjN9MrlPFwtKrYJShjsfgqdmZdjNc2UBKmTgUgMfRk=; fh=E3utHXFZDSZX6+5xdbu6AGmfEbj78WyLNHk6g1hk2fE=; b=wyhMC58v7c6KObK2nh2/BvSurdKqlWznqxaixS0tcvYLO44l8VfuvTFxWxXtZOiquZ fxBAcj0ildFoveulMT4VO4yOdf3iuZq/ya24YZmwgLqGCdxc7RBAWoLjr2iE1inRoiqm eJp5qsgUhhdybHlYnSccDAEvdluSYhQnes9VMfiXa8WqF0mWHWi0xF/g9paiOEsDLrs7 /PmrZaZDvwQfkU7s1DqLZTYbK7FNMLRcVOgCiQjiLaeHyQCbxOBkMJctn6lVCXeeD2MX RzcESpkfjeZ1SKCqunDctUtcg8o4sGAfBjwH4Me4w9BG2YnS0v8o0ioSpvN4Sp81BSbQ 6sxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m1T7oukG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h15-20020a17090a9c0f00b0029bc4ae394esi7083801pjp.92.2024.03.12.09.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 09:03:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m1T7oukG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100487-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4FC3BB22525 for ; Tue, 12 Mar 2024 16:03:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F9067D3EB; Tue, 12 Mar 2024 16:03:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m1T7oukG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABA097D06B for ; Tue, 12 Mar 2024 16:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710259379; cv=none; b=gnVKgjB30EaTXr6/hRi/q1XAUYBfMOPEtEsBjejpndB+PoLfvSJuhbdtiP2opei5oZjSXV29hDdJcf60ZzRegC4SyccvWiEuax6p2ItsgS0iVHmHEyZYt2CByvQ8nuvZRWrgLGAYz2sxpE/Ms5Ojw1/OT5kEJlYSd7THo5+g5+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710259379; c=relaxed/simple; bh=pwMFmbIDCPsXo4BRsEAWi66m1VWYMC9FeL3IOqfEDyk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=GT+nPRT/w0lP6PwFweInQgvnEuEolwSRn7EwkB2s0RmMHWWMYHh/ORwW0rZk7OYLNbfkM9OvwlpZyKfdu2RMcOH8EicYpqkj+D6bbC//WySZVKHqt+e49yZsjqDBqfpxiRnr/blX5zAmDo4RyWeKdUcem4HAhZ3CxAQsXCNCgMk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m1T7oukG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FDD7C433C7; Tue, 12 Mar 2024 16:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710259379; bh=pwMFmbIDCPsXo4BRsEAWi66m1VWYMC9FeL3IOqfEDyk=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=m1T7oukGBK/pcIzD8xs43UY2H6/Vy8thhFPPM3GgyV350LMSQOzLXWuFm8amX5XiU tHaVOvnMwdlme9rA5V1u9JzaqfI3/c+C0w733HSewADsKQ4SY+WxHuzjZgbeAsHL6E CNj7hUoVd+gN8dHjLhqCxUmR3YXSOLJkQ+tYwwSbrbRRtZb1Euc8/aR6TWgSWvw27W 2AF2R7z4kpI7viJbf5tyOTQh+KcVQjDktJuHiO/r/REi+MaDDU+k5CRgFJm7A829KG JBLQyCdggbK4yH9vZXaFEiHw6zlPksRrHfV+t4kq/HQBHO/Frdh9XMHkbdxLTurrUi GzqauEYancNHA== From: Mark Brown To: linux-kernel@vger.kernel.org, Kory Maincent Cc: thomas.petazzoni@bootlin.com, Liam Girdwood In-Reply-To: <20240312091638.1266167-1-kory.maincent@bootlin.com> References: <20240312091638.1266167-1-kory.maincent@bootlin.com> Subject: Re: [PATCH] regulator: core: Propagate the regulator state in case of exclusive get Message-Id: <171025937812.47123.5734574115512793768.b4-ty@kernel.org> Date: Tue, 12 Mar 2024 16:02:58 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-a684c On Tue, 12 Mar 2024 10:16:38 +0100, Kory Maincent wrote: > Previously, performing an exclusive get on an already-enabled regulator > resulted in inconsistent state initialization between child and parent > regulators. While the child's counts were updated, its parent's counters > remained unaffected. > > Consequently, attempting to disable an already-enabled exclusive regulator > triggered unbalanced disables warnings from its parent regulator. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: core: Propagate the regulator state in case of exclusive get commit: e4ead3cdfd798092288f3a06b405cf98ded6fa10 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark