Skip to content

mfd: qcom-spmi-pmic: fix revid implementation

Johan Hovold linux-arm-msm lkml stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5mfd: qcom-spmi-pmic: fix reference leaks in revid helperdrivers/mfd/qcom-spmi-pmic.c+19 -130 replies
2/5mfd: qcom-spmi-pmic: fix revid implementationdrivers/mfd/qcom-spmi-pmic.c+53 -160 replies
3/5mfd: qcom-spmi-pmic: switch to EXPORT_SYMBOL_GPL()drivers/mfd/qcom-spmi-pmic.c+1 -11 reply
4/5spmi: document spmi_device_from_of() refcountingdrivers/spmi/spmi.c+3 -02 replies
5/5spmi: rename spmi device lookup helperdrivers/mfd/qcom-spmi-pmic.c drivers/spmi/spmi.c include/linux/spmi.h+5 -52 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCaleb ConnollyKonrad DybcioStephen Boyd
SeriesA-b
1/5
2/5
3/5R-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.41.0