From: Matt Moeller via B4 Relay <devnull+matthew.moeller.kinze.com@kernel.org>
To: Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Griffin Kroah-Hartman <griffin@kroah.com>,
Daniel Mack <daniel@zonque.org>,
Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, Matt Moeller <matthew.moeller@kinze.com>
Subject: [PATCH 0/2] leds: Fix IS31FL3293 reset and leds-group-multicolor overflow
Date: Wed, 02 Dec 2026 11:34:53 -0600 [thread overview]
Message-ID: <20261202-for-upstream-v1-0-709b6da8706b@kinze.com> (raw)
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>
next reply other threads:[~2026-12-02 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 17:34 Matt Moeller via B4 Relay [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202-for-upstream-v1-0-709b6da8706b@kinze.com \
--to=devnull+matthew.moeller.kinze.com@kernel.org \
--cc=daniel@zonque.org \
--cc=griffin@kroah.com \
--cc=jjhiblot@traphandler.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=matthew.moeller@kinze.com \
--cc=pavel@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®