Linux LED subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] leds: Fix IS31FL3293 reset and leds-group-multicolor overflow
@ 2026-12-02 17:34 Matt Moeller via B4 Relay
  2026-12-02 17:34 ` [PATCH 1/2] leds: is31fl32xx: Fix the IS31FL3293 reset register Matt Moeller via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matt Moeller via B4 Relay @ 2026-12-02 17:34 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Griffin Kroah-Hartman, Daniel Mack,
	Jean-Jacques Hiblot
  Cc: linux-leds, linux-kernel, stable, Matt Moeller

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@kinze.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-02 17:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 17:34 [PATCH 0/2] leds: Fix IS31FL3293 reset and leds-group-multicolor overflow Matt Moeller via B4 Relay
2026-12-02 17:34 ` [PATCH 1/2] leds: is31fl32xx: Fix the IS31FL3293 reset register Matt Moeller via B4 Relay
2026-12-02 17:34 ` [PATCH 2/2] leds: rgb: leds-group-multicolor: Fix overflow with high max_brightness Matt Moeller via B4 Relay
2026-12-02 17:40 ` [PATCH 0/2] leds: Fix IS31FL3293 reset and leds-group-multicolor overflow sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox