summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2017-04-25 17:09:05 +0200
committerSebastian Reichel <sre@kernel.org>2017-05-01 12:45:43 +0200
commit7f93e1fa032bb5ee19b868b9649bc98c82553003 (patch)
tree8a341c417abf7b2009a4352c5ac1011e17926fb3 /drivers/ide
parentpower: supply: sbs-battery: Don't ignore the first external power change (diff)
downloadlinux-7f93e1fa032bb5ee19b868b9649bc98c82553003.tar.xz
linux-7f93e1fa032bb5ee19b868b9649bc98c82553003.zip
power: supply: sbs-battery: Correct supply status with current draw
The status reported directly by the battery controller is not always reliable and should be corrected based on the current draw information. This implements such a correction with a dedicated function, called where the supply status is retrieved. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions