power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update
authorMatt Ranostay <mranostay@gmail.com>
Tue, 20 Sep 2016 03:43:02 +0000 (20:43 -0700)
committerSebastian Reichel <sre@kernel.org>
Wed, 21 Sep 2016 00:08:04 +0000 (02:08 +0200)
commit1d72706f0485b58e151b5a7584c4c65d66670587
treed659a552d21d1e4262e8fe5938197d995749f91c
parent389958bb6be8b08c9f6d350dcaa9fc127123eada
power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update

Fix issue with poll_interval being not updated till the previous
interval expired.

Cc: Tony Lindgren <tony@atomide.com>
Cc: Liam Breck <liam@networkimprov.net>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq27xxx_battery.c
include/linux/power/bq27xxx_battery.h