diff options
author | Johan Bjornstedt <johan.bjornstedt@stericsson.com> | 2013-01-11 08:12:50 -0500 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-01-15 20:10:17 -0500 |
commit | 3988a4df3499e604a3f2ae979372d27fc5664f77 (patch) | |
tree | efe7b3265c2e4b9a6cdd51d268ce733ced2c3959 /include/linux/mfd/abx500/ab8500-bm.h | |
parent | defbfa9cf879c8e7dde6f7ee9aa95a010efa2e34 (diff) |
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>
Diffstat (limited to 'include/linux/mfd/abx500/ab8500-bm.h')
-rw-r--r-- | include/linux/mfd/abx500/ab8500-bm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500-bm.h b/include/linux/mfd/abx500/ab8500-bm.h index 44310c98ee6e..6c6a02e53cd9 100644 --- a/include/linux/mfd/abx500/ab8500-bm.h +++ b/include/linux/mfd/abx500/ab8500-bm.h | |||
@@ -431,11 +431,18 @@ struct ab8500_fg *ab8500_fg_get(void); | |||
431 | int ab8500_fg_inst_curr_blocking(struct ab8500_fg *dev); | 431 | int ab8500_fg_inst_curr_blocking(struct ab8500_fg *dev); |
432 | int ab8500_fg_inst_curr_start(struct ab8500_fg *di); | 432 | int ab8500_fg_inst_curr_start(struct ab8500_fg *di); |
433 | int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res); | 433 | int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res); |
434 | int ab8500_fg_inst_curr_started(struct ab8500_fg *di); | ||
434 | int ab8500_fg_inst_curr_done(struct ab8500_fg *di); | 435 | int ab8500_fg_inst_curr_done(struct ab8500_fg *di); |
435 | 436 | ||
436 | #else | 437 | #else |
438 | int ab8500_fg_inst_curr_started(struct ab8500_fg *di) | ||
439 | { | ||
440 | return 0; | ||
441 | } | ||
442 | |||
437 | int ab8500_fg_inst_curr_done(struct ab8500_fg *di) | 443 | int ab8500_fg_inst_curr_done(struct ab8500_fg *di) |
438 | { | 444 | { |
445 | return 0; | ||
439 | } | 446 | } |
440 | static void ab8500_fg_reinit(void) | 447 | static void ab8500_fg_reinit(void) |
441 | { | 448 | { |