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

Skip to content
Commit 476e837b authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen3: Report time_to_full only after SOC is ready



Currently, power supply framework tries to get properties from a
power supply (e.g. bms) as soon as the power supply is registered
when driver probes. Since the profile load work is scheduled to
run after probe, reading time_to_full property spews the log
causing misinterpretation.

Fix it by checking for soc_reporting_ready which will be set once
profile_load work completes its execution.

Change-Id: I3be3d2624efc217b153fb695a2f95fb17b46f972
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 5a186617
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