Skip to content

regulator: fix OF node imbalance on reuse

Johan Hovold lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- use the correct rk808 Fixes tag
- merge all the fixes into one series

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7regulator: bq257xx: fix OF node reference imbalancedrivers/regulator/bq257xx-regulator.c+1 -20 replies
2/7regulator: rk808: fix OF node reference imbalancedrivers/regulator/rk808-regulator.c+1 -20 replies
3/7regulator: max77650: fix OF node reference imbalancedrivers/regulator/max77650-regulator.c+1 -10 replies
4/7regulator: mt6357: fix OF node reference imbalancedrivers/regulator/mt6357-regulator.c+1 -10 replies
5/7regulator: s2dos05: fix OF node reference imbalancedrivers/regulator/s2dos05-regulator.c+1 -10 replies
6/7regulator: act8945a: fix OF node reference imbalancedrivers/regulator/act8945a-regulator.c+2 -10 replies
7/7regulator: bd9571mwv: fix OF node reference imbalancedrivers/regulator/bd9571mwv-regulator.c+2 -10 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDouglas AndersonSebastian ReichelBartosz Golaszewski
1/7R-b
2/7R-b R-b
3/7R-b
4/7
5/7
6/7
7/7

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 v2 thread

Cover letter [PATCH v2 0/7] regulator: fix OF node imbalance on reuse

These drivers reuse the OF node of their parent multi-function device but fail to take another reference to balance the one dropped by the platform bus code when unbinding the MFD and deregistering the child devices.

Fix this by using the intended helper for reusing OF nodes.

Note that the first two patches will cause a trivial conflict with Doug's series adding accessor functions for struct device flags which has now been merged to the driver-core tree:

	https://lore.kernel.org/r/[email protected]

Johan

Changes in v2:
- use the correct rk808 Fixes tag
- merge all the fixes into one series

Johan Hovold (7):
regulator: bq257xx: fix OF node reference imbalance
regulator: rk808: fix OF node reference imbalance
regulator: max77650: fix OF node reference imbalance
regulator: mt6357: fix OF node reference imbalance
regulator: s2dos05: fix OF node reference imbalance
regulator: act8945a: fix OF node reference imbalance
regulator: bd9571mwv: fix OF node reference imbalance

 drivers/regulator/act8945a-regulator.c  | 3 ++-
 drivers/regulator/bd9571mwv-regulator.c | 3 ++-
 drivers/regulator/bq257xx-regulator.c   | 3 +--
 drivers/regulator/max77650-regulator.c  | 2 +-
 drivers/regulator/mt6357-regulator.c    | 2 +-
 drivers/regulator/rk808-regulator.c     | 3 +--
 drivers/regulator/s2dos05-regulator.c   | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.52.0