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

Commit 241dcd08 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg: Improve Rbias SW workaround



Currently, with our SW based Rbias control, we keep the Rbias
on when the device is awake and turn it off when the device
enters suspend. However, we only need to keep Rbias on for the
time when we need temperature update from FG and it can be kept
off after reading the temperature.
While improving the way we control Rbias by adding a separate
work for temperature updates, increase the frequency of
temperature update to 10 seconds from 30 seconds.
Since a new completion (sram_access_revoked) is added to wait upon
before doing the temperature update, rename the existing completion
(sram_access to sram_access_granted) to better reflect the use.

CRs-Fixed: 743450
Change-Id: I0b9231850738a55081d5bba79baa6bcdd4013856
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 3323e36d
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