summary refs log tree commit diff
path: root/Kconfig
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>2020-11-25 05:44:44 +0100
committerSebastian Reichel <sre@kernel.org>2020-11-30 01:13:51 +0100
commit4b0a56e692503692da6555337a697c17feabbb3e (patch)
tree228370eef6d2051bbb4aacb36acd20cb425a0c02 /Kconfig
parentd4e9e7b6f7ae37a99bc11ce9efe6e8bdc711362f (diff)
downloadlinux-4b0a56e692503692da6555337a697c17feabbb3e.tar.gz
power: supply: max17042_battery: Fix current_{avg,now} hiding with no current sense
When current sense is disabled, max17042_no_current_sense_psy_desc gets
used which ignores two last properties from the list.

Fixes: 21b01cc879cc ("power: supply: max17042_battery: Add support for the TTE_NOW prop")
Reported-by: Timon Baetz <timon.baetz@protonmail.com>
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions