ab8500_bm: Skip first CCEOC irq for instant current
authorJohan Bjornstedt <johan.bjornstedt@stericsson.com>
Fri, 11 Jan 2013 13:12:50 +0000 (13:12 +0000)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 16 Jan 2013 01:10:17 +0000 (17:10 -0800)
commit3988a4df3499e604a3f2ae979372d27fc5664f77
treeefe7b3265c2e4b9a6cdd51d268ce733ced2c3959
parentdefbfa9cf879c8e7dde6f7ee9aa95a010efa2e34
ab8500_bm: Skip first CCEOC irq for instant current

When enabling the CCEOC irq we might get false interrupt
from ab8500-driver due to the latched value will be saved
and interpreted as an IRQ when enabled

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com>
Signed-off-by: Henrik Solver <henrik.solver@stericsson.com>
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/ab8500_btemp.c
drivers/power/ab8500_fg.c
include/linux/mfd/abx500/ab8500-bm.h