[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231003152927.15000-1-johan+linaro@kernel.org>
Date: Tue, 3 Oct 2023 17:29:22 +0200
From: Johan Hovold <johan+linaro@...nel.org>
To: Lee Jones <lee@...nel.org>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Stephen Boyd <sboyd@...nel.org>,
Caleb Connolly <caleb.connolly@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Johan Hovold <johan+linaro@...nel.org>
Subject: [PATCH 0/5] mfd: qcom-spmi-pmic: fix revid implementation
The Qualcomm SPMI PMIC revid implementation is broken in multiple ways
that can lead to resource leaks and crashes. This series reworks the
implementation so that can be used safely.
Included is also a rename of the SPMI device lookup helper which can
hopefully help prevent similar leaks from being reintroduced.
Johan
Johan Hovold (5):
mfd: qcom-spmi-pmic: fix reference leaks in revid helper
mfd: qcom-spmi-pmic: fix revid implementation
mfd: qcom-spmi-pmic: switch to EXPORT_SYMBOL_GPL()
spmi: document spmi_device_from_of() refcounting
spmi: rename spmi device lookup helper
drivers/mfd/qcom-spmi-pmic.c | 103 +++++++++++++++++++++++++----------
drivers/spmi/spmi.c | 9 ++-
include/linux/spmi.h | 2 +-
3 files changed, 80 insertions(+), 34 deletions(-)
--
2.41.0
Powered by blists - more mailing lists