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

Skip to content
Commit d5cd1302 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: don't call ADC API in ISR



the qpnp_adc_measure API can not be called in ISR
as it invokes usleep.

Fix this by scheduling a worker to request the
ADC.

Change-Id: I90b8d6220a1a97d7faa07e48ae1783d116f4c6ee
CRs-Fixed: 470068
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent bd6c0888
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