Fix issue when using devm_of_regulator_put_matches and

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.
This commit is contained in:
Mark Brown 2024-05-29 18:11:37 +01:00
commit f31f012d79
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 60 additions and 17 deletions