Fix issue when using devm_of_regulator_put_matches and add compatiblity for both fixed and adjustable LDO VOUT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is calleddrivers/ | +12 | 0 replies | |
| 2/4 | regulator: rtq2208: Fix LDO to be compatible with both fixed and adjustable voutdrivers/ | +31 | 0 replies | |
| 3/4 | regulator: rtq2208: Add fixed LDO VOUT property and check that matches the constraintsdrivers/ | +9 | 0 replies | |
| 4/4 | regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT propertyDocumentation/ | +10 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RESEND 0/4] Fix issue when using devm_of_regulator_put_matches and add compatiblity for both fixed and adjustable LDO VOUT
Hi,
There are two types of LDO VOUT: fixed voltage mode and adjustable voltage mode.
As the fixed voltage for the LDO is outside the range of the adjustable voltage mode, the constraints for this scenario are not suitable to represent both modes. Therefore, A property is added to specify the fixed LDO VOUT.
In this version, a software bug has been fixed.rtq2208_ldo_match is no longer a local variable.
It prevents invalid memory access when devm_of_regulator_put_matches is called.
Alina Yu (4):
regulator: rtq2208: Fix invalid memory access when
devm_of_regulator_put_matches is called
regulator: rtq2208: Fix LDO to be compatible with both fixed and
adjustable vout
regulator: rtq2208: Add fixed LDO VOUT property and check that matches
the constraints
regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT property
.../bindings/regulator/richtek,rtq2208.yaml | 11 +++- drivers/regulator/rtq2208-regulator.c | 66 ++++++++++++++++------ 2 files changed, 60 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4