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

Skip to content
Commit f7500279 authored by Umang Agrawal's avatar Umang Agrawal Committed by Subbaraman Narayanamurthy
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 45a91d1c
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