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

Skip to content
Commit e0161722 authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

leds: qpnp-flash-v2: Acquire the bms_psy handle at runtime



Un-registering the power_supply notifier in its callback leads
to a "sleeping function from a invalid context" issue. Also, there
is no need to register for a power_supply notifier for the bms_psy
handle. Acquire this handle runtime, this also fixes the
sleeping-context issue.

Change-Id: I7c98446d88be3d2231ab30b53eebc0660e66b016
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 81876bc8
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