commit | dbcef09329387c143e238b834ca9388722da6541 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Tue May 14 14:48:30 2013 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Thu May 16 09:54:10 2013 -0700 |
tree | a79d837e718994abaf244e3d5b67e19deb719bab | |
parent | e53d7ab1442bdcd227c6c99dd4d1700bd17ed68f [diff] |
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: David Keitel <dkeitel@codeaurora.org>