diff options
author | Matt Ranostay | 2016-09-19 20:43:02 -0700 |
---|---|---|
committer | Sebastian Reichel | 2016-09-21 02:08:04 +0200 |
commit | 1d72706f0485b58e151b5a7584c4c65d66670587 (patch) | |
tree | d659a552d21d1e4262e8fe5938197d995749f91c /include/linux/power | |
parent | 389958bb6be8b08c9f6d350dcaa9fc127123eada (diff) |
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>
Diffstat (limited to 'include/linux/power')
-rw-r--r-- | include/linux/power/bq27xxx_battery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/bq27xxx_battery.h b/include/linux/power/bq27xxx_battery.h index b50c0492629d..e30deb046156 100644 --- a/include/linux/power/bq27xxx_battery.h +++ b/include/linux/power/bq27xxx_battery.h @@ -58,6 +58,7 @@ struct bq27xxx_device_info { unsigned long last_update; struct delayed_work work; struct power_supply *bat; + struct list_head list; struct mutex lock; u8 *regs; }; |