Re: (subset) [PATCH] leds: as3668: Propagate chip ID read errors
From: Lee Jones
Date: Thu Nov 26 2026 - 11:54:16 EST
On Tue, 17 Nov 2026 16:39:17 +0800, Siqi Chen wrote:
> i2c_smbus_read_byte_data() returns a negative error code on failure.
> Storing the result in a u8 truncates that error and causes probe to
> report a bogus chip ID and return -ENODEV.
>
> Store the result in an int and propagate read failures before checking
> the chip ID.
>
> [...]
Applied, thanks!
[1/1] leds: as3668: Propagate chip ID read errors
commit: aa2874292fb936d16a4b6b1c3ffb0555e6f354b6
--
Lee Jones [李琼斯]