regulator: debugging and fixing supply deps
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/24 patches 5 repliesIn review
- v1 posting 1/24 patches 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | regulator: fix memory leak with repeated set_machine_constraints()drivers/ | +13 | 0 replies | |
| 2/4 | regulator: debug early supply resolvingdrivers/ | +2 | 1 reply | |
| 3/4 | regulator: avoid resolve_supply() infinite recursiondrivers/ | +6 | 0 replies | |
| 4/4 | regulator: workaround self-referent regulatorsdrivers/ | +4 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Ahmad Fatoum |
|---|---|
| Series | T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND 0/4] regulator: debugging and fixing supply deps
It turns out that commit aea6cb99703e ("regulator: resolve supply after creating regulator") exposed a number of issues in regulator initialization and introduced a memory leak of its own. One uncovered problem was already fixed by cf1ad559a20d ("regulator: defer probe when trying to get voltage from unresolved supply"). This series fixes the remaining ones and adds a two debugging aids to help in the future.
The final patch adds a workaround to preexisting problem occurring with regulators that have the same name as its supply_name. This worked before by accident, so might be worth backporting. The error message is left on purpose so that these configurations can be detected and fixed.
(The first two patches are resends from Nov 5).
(Series resent because of wrong arm-kernel ML address.)
Michał Mirosław (4):
regulator: fix memory leak with repeated set_machine_constraints()
regulator: debug early supply resolving
regulator: avoid resolve_supply() infinite recursion
regulator: workaround self-referent regulators
drivers/regulator/core.c | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-)
Signature · 1 line
2.20.1