summaryrefslogtreecommitdiff
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-02-06 19:35:42 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-02-11 19:08:34 +0100
commit4e456230f1ba27deed5a2148bc58c85281d214b7 (patch)
tree5178cd56f3288618cab6bfb0b13b4cb183af01bd /drivers/power/supply/Kconfig
parent445c21d2080f6ffaad3482409fe90e8ed22db6a2 (diff)
power: supply: bq24190_charger: Disallow ccc_ireg and cvc_vreg to be higher then the fwnode values
If the fwnode data as parsed by power_supply_get_battery_info() provides max values for ccc_ireg and cvc_vreg then do not allow the user to later set these to higher values then those specified by the firmware, otherwise the battery might get damaged. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
0 files changed, 0 insertions, 0 deletions