Re: [PATCH v5] backlight: led-backlight: add devlink to supplier LEDs

2025-05-19 Thread Luca Ceresoli
Hi Hervé, On Mon, 19 May 2025 17:47:29 +0200 Herve Codina wrote: > Hi Luca, > > On Mon, 19 May 2025 17:16:39 +0200 > Luca Ceresoli wrote: > > ... > > > diff --git a/drivers/video/backlight/led_bl.c > > b/drivers/video/backlight/led_bl.c > > index > > d2db157b2c290adc3a159023e9e2394fc877388

Re: [PATCH v5] backlight: led-backlight: add devlink to supplier LEDs

2025-05-19 Thread Herve Codina
Hi Luca, On Mon, 19 May 2025 17:16:39 +0200 Luca Ceresoli wrote: ... > diff --git a/drivers/video/backlight/led_bl.c > b/drivers/video/backlight/led_bl.c > index > d2db157b2c290adc3a159023e9e2394fc877388c..8fe645b5b75447d009e1045dcf0c62d3bbc5425e > 100644 > --- a/drivers/video/backlight/led_

[PATCH v5] backlight: led-backlight: add devlink to supplier LEDs

2025-05-19 Thread Luca Ceresoli
led-backlight is a consumer of one or multiple LED class devices, but devlink is currently unable to create correct supplier-producer links when the supplier is a class device. One consequence is that removal order is not correctly enforced. Issues happen for example with the following sections in