Re: (subset) [PATCH v2] leds: qcom-lpg: Check the return value of regmap_bulk_write()

From: Lee Jones

Date: Tue Jan 13 2026 - 07:29:48 EST


On Fri, 09 Jan 2026 01:51:33 +0800, Haotian Zhang wrote:
> The lpg_lut_store() function currently ignores the return value of
> regmap_bulk_write() and always returns 0. This can cause hardware write
> failures to go undetected, leading the caller to believe LUT programming
> succeeded when it may have failed.
>
> Check the return value of regmap_bulk_write() in lpg_lut_store and return
> the error to the caller on failure.
>
> [...]

Applied, thanks!

[1/1] leds: qcom-lpg: Check the return value of regmap_bulk_write()
commit: 33e822f6f4eba2cfbd09ffd080af221cf8c542b2

--
Lee Jones [李琼斯]