[PATCH] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs

Christian Hitz posted 1 patch 4 months ago
There is a newer version of this series
drivers/leds/leds-lp50xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
Posted by Christian Hitz 4 months ago
From: Christian Hitz <christian.hitz@bbv.ch>

Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Cc: stable@vger.kernel.org
---
 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.0
Re: [PATCH] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
Posted by Lee Jones 3 months, 2 weeks ago
On Wed, 08 Oct 2025, Christian Hitz wrote:

> From: Christian Hitz <christian.hitz@bbv.ch>

You need forthcoming and insightful commit message.

> Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
> Cc: stable@vger.kernel.org

Fine, but place this above your SoB.

> ---
>  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.0
> 

-- 
Lee Jones [李琼斯]