Skip to content

regulator: fix OF node imbalance on reuse

Johan Hovold lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regulator: bq257xx: fix OF node reference imbalancedrivers/regulator/bq257xx-regulator.c+1 -21 reply
2/2regulator: rk808: fix OF node reference imbalancedrivers/regulator/rk808-regulator.c+1 -23 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSebastian ReichelDouglas Anderson
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] 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 this may cause a trivial conflict with Doug's series adding accessor functions for struct device flags:

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

Johan

Johan Hovold (2):
regulator: bq257xx: fix OF node reference imbalance
regulator: rk808: fix OF node reference imbalance

 drivers/regulator/bq257xx-regulator.c | 3 +--
 drivers/regulator/rk808-regulator.c   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.52.0