Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: core: let dt properties override driver init_data
This reverts commit cd7a38c. When submitting the change above, it was thought that the origin of the init_data should be a clear choice, from the driver or from DT but not both. It turns out some devices, such as qcom-msm8974-lge-nexus5-hammerhead, relied on the old behaviour to override the init_data provided by the driver, making it some kind of default if none is provided by the platform. Using the init_data provided by the driver when it is present broke these devices so revert the change to fixup the situation and add a comment to make things a bit more clear Reported-by: Luca Weiss <[email protected]> Closes: https://lore.kernel.org/lkml/[email protected] Fixes: cd7a38c ("regulator: core: do not silently ignore provided init_data") Signed-off-by: Jerome Brunet <[email protected]> Link: https://patch.msgid.link/20250211-regulator-init-data-fixup-v1-1-5ce1c6cff990@baylibre.com Signed-off-by: Mark Brown <[email protected]>
- Loading branch information