summaryrefslogtreecommitdiffstats
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorCarl Philipp Klemm <philipp@uvos.xyz>2021-04-23 14:58:31 +0200
committerSebastian Reichel <sre@kernel.org>2021-06-04 14:28:31 +0200
commitaecd127b45eac8ce0ff667a4a855ff66905fb88c (patch)
treebf8fd93efd438a1d06f42c4da2ee8f08384142fc /lib/crc32.c
parentpower: supply: axp20x_battery: allow disabling battery charging (diff)
downloadlinux-aecd127b45eac8ce0ff667a4a855ff66905fb88c.tar.xz
linux-aecd127b45eac8ce0ff667a4a855ff66905fb88c.zip
power: supply: cpcap-battery: invalidate config when incompatible measurements are read
This invalidates empty->counter_uah and charge_full when charge_now indicates that they are grossly wrong and adds some tolerance to POWER_SUPPLY_PROP_CHARGE_FULL to allow for inaccuracies in the charge counter and manufacturing tolerances in the battery. Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions