ab8500-bm: Flush all work queues before suspending
authorJonas Aaberg <jonas.aberg@stericsson.com>
Mon, 21 May 2012 14:05:01 +0000 (16:05 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Jan 2013 14:39:18 +0000 (14:39 +0000)
commit53ef1f590dc59f3c1478c68ea1f06a28f55ddccb
tree290f605ca73727e643e93b96fc67e2ec327fd37e
parentffaa39d9edd7e3d620d14d574485e814edbf3950
ab8500-bm: Flush all work queues before suspending

Flush all workqueues at suspend time to avoid suspending during work.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com>
drivers/power/ab8500_charger.c
drivers/power/ab8500_fg.c