Home
last modified time | relevance | path

Searched hist:b4d1c08a65d6e7b8dc0536fdad99454f0770a067 (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/regulator/
H A Dregulator.cb4d1c08a65d6e7b8dc0536fdad99454f0770a067 Tue Jan 30 19:01:19 UTC 2024 Patrick Delaunay <patrick.delaunay@foss.st.com> 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: 1a3d3273040b ("drivers: regulator framework")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
/optee_os/core/include/drivers/
H A Dregulator.hb4d1c08a65d6e7b8dc0536fdad99454f0770a067 Tue Jan 30 19:01:19 UTC 2024 Patrick Delaunay <patrick.delaunay@foss.st.com> 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: 1a3d3273040b ("drivers: regulator framework")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>