Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796296954; b=f7dxIFTb+mLSRFuhIy1SinxzZSjn+dE1tEMx+11cE8lKx33Z7U1OkXYdygLJVNRpuF20 QL58BrTheTrwGft0qDu/sZIajPG+gxB0x+vstSQ4xvG5+roL9lJ+YHmVHspIhs2E1QYJN z23CcxF5hXmPxr6BKHpULPuzokzYTws+GjlDWZPLxNQZ5mcyErOLkYrHvIw9XGsk6FzfL 4BDcfOQi8tiOzRixRtRX4EHKCfDqF3XGVHTrb384qFJ+xcWzE7FxyRs36QoRmGn2rQWdO irPTgOEWaN1qdvnf0KIbUMCaeMKcos81BXInvFYlsLiZykYDcosSwOA1AyNt1o7ptaA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796296954; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=TIHeNaQhDR9gBmmGYqmhjKOetZiQpJ1rYP1uaAUl6js=; b=PyONh5zGMj76uuVthe0CXEYCRryPg7WAhyPEcNS9xJmlCLc4bzPEI7w2xae5J2ZG/TNk Hur1EesLXCe6yEKLJWycvO7ln5BQL/1KSPf2KDDHkeXDEsgz1f30pEboKnQQeEvXcQ4vX Y1TqAmGGYZbEX2UNGeezQf5lzM8V7TqNozALR3iBsoc8/7C1C1CvSQQAma9vPrJhayyVK Fcz12fN9aXAjkd9JXA0l2QjAmQfxN6+/Q25dNGJb/joKACbmqXTBLsAyWfvxw/9Fm32lm gkSht3b1qd6LIq2Jq+hy9l+sX5l5cOx4BgQNCDinTfmYJTwfY+N3B+XimCXpflKzttw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BxgzVyie; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6240606A330 for ; Thu, 3 Dec 2026 11:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BxgzVyie Received: by smtp.kernel.org (Postfix) with ESMTPSA id 227291F0089B; Thu, 3 Dec 2026 11:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796296954; bh=TIHeNaQhDR9gBmmGYqmhjKOetZiQpJ1rYP1uaAUl6js=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=BxgzVyieCB2wERAO9HBwlK2Fiw9SK5mvX5mcChwJc/6xAqrkk+fohByF7SzBZoavN MSY9pcplfQT5T/CLD+kwRMog80IiFIMM5m6Ltb66+PJ3JjKW9seA8XDMVUXCoxZKhQ Ib7geQQfOnZavzbpYzeu8WSUHQi3NpOnZ7RxitJP5pkNsuUbt481YnEpuTDhOEGa3o GZNqESDVOVY8ZideeMxM/ETSADa8kPX/VeJxoiB8SW1c8oD5mBY8UUCTiUyb59l5o6 X5J5nEPfkBRVUTbp1A32O2MYRfvxyvWU3OgG6DLxUl0uglSB9+ObGs0YMe6KN39+32 f+WZCQWOBHeYg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2] hwmon: (da9052) Tie the tsiref regulator to the hwmon device Reply-To: sashiko-reviews@lists.linux.dev To: "Arina Kharlamova" Cc: linux-hwmon@vger.kernel.org In-Reply-To: <20261203-s2p-lpr-hwmon-v2-1-8d808e44d20e@mbzuai.ac.ae> References: <20261203-s2p-lpr-hwmon-v2-1-8d808e44d20e@mbzuai.ac.ae> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 11:22:33 +0000 X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Arina Kharlamova >=20 > da9052_hwmon_probe() calls devm_regulator_get_enable_read_voltage() on > the parent MFD device, because the tsiref supply is described in the > PMIC node. The reference and the enable then belong to the parent and > are not dropped when the probe fails later or when the hwmon driver is > unbound. Every new bind enables the regulator once more. >=20 > Look the regulator up on the parent, but enable it with the plain > calls and disable and put it from a devm action of the hwmon device. >=20 > Fixes: d72fd5228c9f ("hwmon: (da9052) Use devm_regulator_get_enable_read_= voltage()") > Cc: stable@vger.kernel.org > Reviewed-by: David Lechner > Signed-off-by: Arina Kharlamova Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-s2p-lpr-hw= mon-v2-1-8d808e44d20e@mbzuai.ac.ae?part=3D1