Unverified Commit dce77641 authored by Jelle van der Waa's avatar Jelle van der Waa Committed by Ilpo Järvinen
Browse files

platform/x86: fujitsu: clamp charge_control_end_threshold values to 50



Follow the sysfs ABI documentation that drivers should round written
values to the nearest supported value instead of returning an error.

Tested on a Fujitsu Lifebook U7720.

Signed-off-by: default avatarJelle van der Waa <jvanderwaa@redhat.com>
Reviewed-by: default avatarHans de Goede <hansg@kernel.org>
Acked-by: default avatarJonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/20250609102115.36936-3-jvanderwaa@redhat.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent d9926f09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment