Re: (subset) [PATCH] leds: pca963x: Preserve SMBus errors in power management callbacks

From: Lee Jones

Date: Thu Nov 19 2026 - 11:00:52 EST


On Thu, 12 Nov 2026 15:17:32 +0800, Zhu Jun wrote:
> The suspend and resume callbacks store an SMBus read result in u8,
> discarding negative error codes, and then write the resulting value
> back to MODE1. They also ignore errors from that write. A failed read
> can therefore overwrite unrelated mode bits with an error-derived value.
>
> Keep the read result in an int, stop on a read error and return the
> write result to the PM core.
>
> [...]

Applied, thanks!

[1/1] leds: pca963x: Preserve SMBus errors in power management callbacks
commit: 304e198fb358e0a8bf446a2750074af6c737c1b1

--
Lee Jones [李琼斯]