commit | b57db9e0e6240acc06ee2fab03fe57d8d6015611 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Wed Mar 28 16:08:43 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Fri Mar 30 23:15:38 2012 -0700 |
tree | 2fad8db46e029d195bb33c2b4b5142fe7de2be5d | |
parent | 26417da62764b0acdd5d5b9bc9237a024d10fad8 [diff] |
power: pm8921-charger: avoid schedule while atomic bug If the loop_change interrupt handler directly invokes the unplug_check_worker which uses msleep causing a bug. Fix this by scheduling the work directly rather than invoking the work function. Change-Id: Id1ce75eddc1b7f09b7476af12b68ec8ae8ff1f24 Signed-off-by: David Keitel <dkeitel@codeaurora.org>