Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df2dbcbc authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: smb5-lib: Optimize PD voltage configuration flow



Currently, on every external call to set PD max and min voltage,
switcher frequency is reconfigured and power_supply_changed is
call to update the user-space daemons. However, this flow is
executed for every call irrespective of the voltage value being
configured, introducing redundant flows given same voltage level
is reconfigured. Optimize the configuration flow to skip same
voltage level configuration.

Change-Id: I9c2e2665b66418612ffacb679fed579142e18caf
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 01abbd85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment