power: supply: cros_charge-control: allow start_threshold == end_threshold
Allow setting the start and stop thresholds to the same value. There is no reason to disallow it. Suggested-by:Thomas Koch <linrunner@gmx.net> Fixes: c6ed48ef ("power: supply: add ChromeOS EC based charge control driver") Cc: stable@vger.kernel.org Signed-off-by:
Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241208-cros_charge-control-v2-v1-2-8d168d0f08a3@weissschuh.net Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
Loading
Please sign in to comment