linux_dsm_epyc7002/drivers/power
Sebastian Krzyszkowiak e6207f0988 power: supply: max17042_battery: Fix current_{avg,now} hiding with no current sense
[ Upstream commit 4b0a56e692503692da6555337a697c17feabbb3e ]

When current sense is disabled, max17042_no_current_sense_psy_desc gets
used which ignores two last properties from the list.

Fixes: 21b01cc879 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:25 +01:00
..
reset power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5 2020-10-15 21:37:59 +02:00
supply power: supply: max17042_battery: Fix current_{avg,now} hiding with no current sense 2020-12-30 11:53:25 +01:00
Kconfig PM: AVS: Drop the avs directory and the corresponding Kconfig 2020-10-22 18:39:32 +02:00
Makefile PM: AVS: Drop the avs directory and the corresponding Kconfig 2020-10-22 18:39:32 +02:00