diff options
author | 2017-04-14 20:32:55 +0200 | |
---|---|---|
committer | 2017-05-01 12:37:45 +0200 | |
commit | d7d15fc67791c0e255f36345d02441c1716c2a1f (patch) | |
tree | 8f45d2f7dfc748186ff588065a41667a918b132c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | power: supply: max17042_battery: Add support for the VOLT_MIN property (diff) | |
download | wireguard-linux-d7d15fc67791c0e255f36345d02441c1716c2a1f.tar.xz wireguard-linux-d7d15fc67791c0e255f36345d02441c1716c2a1f.zip |
power: supply: max17042_battery: mAh readings depend on r_sns value
The PROP_CHARGE_FULL code was hardcoded for the default sense
resistor of 0.010 Ohm, make it use r_sns which contains the
actual sense resistor value in micro-Ohms instead.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions