Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: regulator: read current level from the device #6662

Merged
merged 1 commit into from
Mar 11, 2024

Commits on Feb 22, 2024

  1. drivers: regulator: do not cache voltage level value

    Always read current voltage level from the device instead of
    caching the level in struct regulator. This fixes issues for
    when the regulator level value depends on the parent regulator
    (supply). It is up the regulator drivers to cache or not this
    value in their private data if applicable.
    
    Fixes: 1a3d327 ("drivers: regulator framework")
    Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    patrickdelaunay committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    644bdb2 View commit details
    Browse the repository at this point in the history