[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251022063305.972190-1-christian@klarinett.li>
Date: Wed, 22 Oct 2025 08:33:04 +0200
From: Christian Hitz <christian@...rinett.li>
To: Lee Jones <lee@...nel.org>,
Pavel Machek <pavel@...nel.org>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Dan Murphy <dmurphy@...com>
Cc: Christian Hitz <christian.hitz@....ch>,
stable@...r.kernel.org,
Pavel Machek <pavel@....cz>,
linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
From: Christian Hitz <christian.hitz@....ch>
LP5009 supports 9 LED outputs that are grouped into 3 modules.
Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
Cc: stable@...r.kernel.org
Signed-off-by: Christian Hitz <christian.hitz@....ch>
---
Changes in v2:
- Improve log message
---
drivers/leds/leds-lp50xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c
index 94f8ef6b482c..05229e2f2e7e 100644
--- a/drivers/leds/leds-lp50xx.c
+++ b/drivers/leds/leds-lp50xx.c
@@ -54,7 +54,7 @@
/* There are 3 LED outputs per bank */
#define LP50XX_LEDS_PER_MODULE 3
-#define LP5009_MAX_LED_MODULES 2
+#define LP5009_MAX_LED_MODULES 3
#define LP5012_MAX_LED_MODULES 4
#define LP5018_MAX_LED_MODULES 6
#define LP5024_MAX_LED_MODULES 8
--
2.51.1
Powered by blists - more mailing lists