diff options
author | 2017-07-07 16:23:54 +0200 | |
---|---|---|
committer | 2017-07-24 14:08:52 +0200 | |
commit | 0188155a234bf77c7588bdedf3b77cc87bfeb7df (patch) | |
tree | 7c2ef7b3d5876525ac70725a8e88838e6eb1b4eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.13-rc2 (diff) | |
download | linux-dev-0188155a234bf77c7588bdedf3b77cc87bfeb7df.tar.xz linux-dev-0188155a234bf77c7588bdedf3b77cc87bfeb7df.zip |
power: supply: sbs-battery: correct capacity mode selection bits
The capacity mode bit is bit 15. Currently it is written as
default initialized enum and never shifted. This leads to
a behaviour where the BATTERY_MODE is not correctly
recognized and set again.
This commit initializes the enum accordingly.
Signed-off-by: Michael Heinemann <committed@heine.so>
Tested-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions