Skip to content

Coupled-regulators follow up

Dmitry Osipenko linux-omap linux-tegra lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3regulator: core: Use ww_mutex for regulators lockingdrivers/regulator/core.c drivers/regulator/da9210-regulator.c drivers/regulator/stpmic1_regulator.c +2 more+317 -1040 replies
2/3regulator: core: Properly handle case where supply is the coupledrivers/regulator/core.c+17 -20 replies
3/3regulator: core: Keep regulators-list locked while traversing the listdrivers/regulator/core.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Coupled-regulators follow up

Hi,

This is a follow up to [0].

What's changed in v2:

- The "Use ww_mutex for regulators locking" patch compiles now for the drivers that are touching "rdev's" mutex, in a result regulator_[un]lock() functions are public now.

- Added new patch to the series ("Keep regulators-list locked while traversing the list") which further firms regulators locking.

- Changed commit description of the "Change regulator-coupled-max-spread property" patch, saying that it's fine to change the binding because property doesn't have any users yet. That was requested by Rob Herring in the review comment to v1.

[0] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=69250

Dmitry Osipenko (3):
regulator: core: Use ww_mutex for regulators locking
regulator: core: Properly handle case where supply is the couple
regulator: core: Keep regulators-list locked while traversing the list

 drivers/regulator/core.c              | 425 ++++++++++++++++++++------
 drivers/regulator/da9210-regulator.c  |   4 +-
 drivers/regulator/stpmic1_regulator.c |   4 +-
 drivers/regulator/wm8350-regulator.c  |   4 +-
 include/linux/regulator/driver.h      |   6 +-
 5 files changed, 339 insertions(+), 104 deletions(-)
Signature · 1 line
2.19.1