Re: [PATCH] power: supply: qcom_battmgr: return charge threshold write errors

From: Sebastian Reichel

Date: Sun Nov 15 2026 - 18:16:40 EST



On Fri, 13 Nov 2026 22:17:32 +0000, Hungyu Lin wrote:
> Both charge threshold setters return success even when
> qcom_battmgr_set_charge_control() fails. If the PMIC GLINK transport
> returns an error or the firmware does not reply in time, the sysfs write
> still reports that it consumed the input while the cached thresholds
> retain their previous values.
>
> Return the request status from both setters so userspace can detect the
> failed write.
>
> [...]

Applied, thanks!

[1/1] power: supply: qcom_battmgr: return charge threshold write errors
commit: ffce9bb777f28733e981928fb19f2d13be40b6b9

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>