diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-10-01 06:45:30 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-10-19 05:06:28 +0200 |
commit | 950b6c2d110e8df65b9d2704cc7039f3d0d9f7b2 (patch) | |
tree | 205f5a3dfec7543484920eaf9671f0945c52c595 /sound/isa/Makefile | |
parent | power: supply: improve function-level documentation (diff) | |
download | linux-950b6c2d110e8df65b9d2704cc7039f3d0d9f7b2.tar.xz linux-950b6c2d110e8df65b9d2704cc7039f3d0d9f7b2.zip |
power: supply: bq27xxx_battery: don't update poll_interval param if same
To avoid canceling the delayed workqueue needlessly, and scheduling an
immediate polling. Check if the new poll_interval value is different
than the previous setting.
Cc: Tony Lindgren <tony@atomide.com>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'sound/isa/Makefile')
0 files changed, 0 insertions, 0 deletions