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

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

power: qpnp-charger.c: check power supply change calls



Make sure that a power supply is initialized before
calling power_supply_changed on a particular supply.

This fixes a possible bad magic bug when the power
supply framework tries to schedule the work queue.

Change-Id: Ie9d071208af93144a647047cf0c6d3ae9b94f4c2
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 396f839f
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