[PATCH 21/57] power: Overflow in current calculation

2012-09-25 Thread mathieu . poirier
From: Paer-Olof Haakansson When calculating the average current the nominator will overflow when the charging current is high. Signed-off-by: Henrik Sölver Signed-off-by: Mathieu Poirier Reviewed-by: Par-Olof HAKANSSON Reviewed-by: Jonas ABERG --- drivers/power/ab8500_fg.c | 15

[PATCH 21/57] power: Overflow in current calculation

2012-09-25 Thread mathieu . poirier
From: Paer-Olof Haakansson par-olof.hakans...@stericsson.com When calculating the average current the nominator will overflow when the charging current is high. Signed-off-by: Henrik Sölver henrik.sol...@stericsson.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Reviewed-by: