]> Gentwo Git Trees - linux/.git/commitdiff
leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
authorChristian Hitz <christian.hitz@bbv.ch>
Wed, 22 Oct 2025 06:33:04 +0000 (08:33 +0200)
committerLee Jones <lee@kernel.org>
Thu, 6 Nov 2025 12:48:39 +0000 (12:48 +0000)
LP5009 supports 9 LED outputs that are grouped into 3 modules.

Cc: stable@vger.kernel.org
Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Link: https://patch.msgid.link/20251022063305.972190-1-christian@klarinett.li
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-lp50xx.c

index d50c7f3e8f9995214f87f64029d6e395b96c9c7a..3a0316be96edb731d86b61a44273733353e89792 100644 (file)
@@ -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