]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Fix issue when using devm_of_regulator_put_matches and
authorMark Brown <broonie@kernel.org>
Wed, 29 May 2024 17:11:37 +0000 (18:11 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 May 2024 17:11:37 +0000 (18:11 +0100)
Merge series from Alina Yu <alina_yu@richtek.com>:

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.


Trivial merge