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

Skip to content
Commit 4829d02f authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: smb135x-charger: use fastchg for updating battery psy



The current code assumes that by the time a charger is plugged in
it will start charging. However, the charger may be configured to
have a long hold-off time, where it deliberately waits few milli-
seconds before charging. In such a case when power supply changed
is called when USB is inserted charging will not have started
and the userspace will not report charging.

Use the fastchg interrupt which is triggered when charging actually
begins to notify start of charging to the userspace.

Change-Id: I89ad7cc22a56a032d607309aa0f474bc043ed97d
CRs-Fixed: 620850
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent c4251672
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