[PATCH 0/2] leds: Fix IS31FL3293 reset and leds-group-multicolor overflow

From: Matt Moeller via B4 Relay

Date: Wed Dec 02 2026 - 12:36:27 EST


Two fixes found while bringing up an IS31FL3293 RGB status LED grouped
with leds-group-multicolor (three 12-bit channels, max_brightness 4095).

Patch 1: the IS31FL3293 reset register is 0x3f, not 0x3c, so the driver
never reset the chip and a bootloader-configured mode stayed in effect.

Patch 2: leds_gmc_set() overflows unsigned int once LED brightness goes
past 8 bits, sending wrapped values to the LEDs.

Both were tested on an AM335x board on 6.1.182 with the IS31FL3293
support backported; on this tree (for-leds-next) they were build-tested
only (ARM, W=1).

The problems were found and the fixes written with help from Claude
(Anthropic).

---
Matt Moeller (2):
leds: is31fl32xx: Fix the IS31FL3293 reset register
leds: rgb: leds-group-multicolor: Fix overflow with high max_brightness

drivers/leds/leds-is31fl32xx.c | 2 +-
drivers/leds/rgb/leds-group-multicolor.c | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
base-commit: 6881bcee6db3a7a3f9ff2b5ff01a1b43ee97bc83
change-id: 20261202-for-upstream-45581d2e8829

Best regards,
--
Matt Moeller <matthew.moeller@xxxxxxxxx>