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: 21b01cc8 ("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>
Showing
Please register or sign in to comment