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>
Loading
Please sign in to comment