commit | c7093b06fb902d3c8520e1e6611b375c2576cd3a | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Thu Feb 14 12:50:04 2013 -0800 |
committer | David Keitel <dkeitel@codeaurora.org> | Tue Feb 19 09:31:50 2013 -0800 |
tree | ecf626ae7e4c1c0c7332225b8015bc316a8c6945 | |
parent | d14dff90918057d4a9abfec9ae5db62c3ed7475d [diff] |
power: qpnp-charger: fix possible race condition If the dc supply is registered earlier, the framework misses calling the battery's external_power_supply_changed(). This causes undesired behaviour in userspace not being updated correctly. Fix this by registering the battery supply first and then registering the DC supply. CRs-Fixed: 452862 Change-Id: I573289d75854a4293cdbdda6afecea011dd4c3ab Signed-off-by: David Keitel <dkeitel@codeaurora.org>