From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796153545; b=pVr5YU4FEmwa4pDt2cLWDcLjVtkNKcXF6GUSAavVxI+VsFbHXY19IeX5iPraa38zo5xK J3WUcL9bzroALb45LuxfAWioo3xByO2EVRtR3ejji91ys7iG5W8k7lsSl9MveMGOxcvIA k51wxHU67dq5pxppogYDrrbtUI5YFvW4hq7+0DWGbYtUQhb9p/DUU99BuP2OmL1xBE64i suu/nF1DbVGG1ZaYIaqKXCPv74WANIz9VxrrpVEI8bdKA81d1lrtcy6IBC4SBNyh+Kon4 ERFoBlqo7ejguqWZQdCzvBDJHnOWuAhsjyR56wUGbY2py4ghUQdq7g+8mmK4XmejphA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796153545; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=EMRJOFnawQ9zSAYOoK8upAamSdSeInjWLrUbHv4b4aU=; b=UjNzvYlBWX6lln8UfRgO7tpK13cJKlEMppwW1zwurf+JWtEdZTCBXvPuKzLD6g1QpmK8 1Nk5dAidMYzhOXk/6WH106tMSWecn+NvQn96/aPpaTOLdNdRmoaasPN1Twxjuz31PcGL2 dBLoPc09ygbY7c0zNQR9EerV2EzGhGrlNwDHI2ueDbC/1s9sXqbqoSk9GUhtt3n1z0K1y 8s3j1i3yM5CyHhpH/BEGPcsG7yws587/mHCjNYvRG0yo42qLK+S+eunxgqvIqA4TanghC RYpuUNV+HfUjNXgiPMWpukV78bPHhHIVJtUqGysRGkYcrNESTrS9zZlQszRQb/agsjA== 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=foX6TfGq; 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 0DCFC606A31A for ; Tue, 1 Dec 2026 19:32:24 +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=foX6TfGq Received: by smtp.kernel.org (Postfix) with ESMTPSA id 745011F00893; Tue, 1 Dec 2026 19:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796153544; bh=EMRJOFnawQ9zSAYOoK8upAamSdSeInjWLrUbHv4b4aU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=foX6TfGq3HZq/Yx05XzLXQBNYD+FSoCxdWJxgC5aFwIxmJPbeU8JCuaKHLm9cfXti vX2GHSAH/VJKLvCgDV95Ht7oofW4BZNSqe9iexjJ6w+lTa8UTsQ2sd6aEArPBjW1Ru /vIIDEZwye6xhsKOJn/xgTajHcE0eTm9aKmbbwh7dZLfvQks9NmTNMFkaX+iedEHd1 wh7dEobqlexl7zTFgWe4WtU0+94y9Aafq+8gyF8zbus8UI11ctuN13rx2EHJsRjYlp YZfcfDFDDUczIcTJ9zstIHqh1zRp+WCgP0+CVLGz44IsGzG3RHN/LBfUNogArx2ROb QCqVl78H2J87g== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] 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: <20261201-s2p-lpr-hwmon-v1-1-c9dacf93eae1@mbzuai.ac.ae> References: <20261201-s2p-lpr-hwmon-v1-1-c9dacf93eae1@mbzuai.ac.ae> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 19:32:24 +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 > Signed-off-by: Arina Kharlamova Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-s2p-lpr-hw= mon-v1-1-c9dacf93eae1@mbzuai.ac.ae?part=3D1