Re: [PATCH] backlight: led_bl: take led_access lock when required

2023-06-26 Thread Lee Jones
On Mon, 19 Jun 2023, Mans Rullgard wrote: > The led_access lock must be held when calling led_sysfs_enable() and > led_sysfs_disable(). This fixes warnings such as this: > > [2.432495] [ cut here ] > [2.437316] WARNING: CPU: 0 PID: 22 at drivers/leds/led-core.c:34

Re: [PATCH] backlight: led_bl: take led_access lock when required

2023-06-26 Thread Daniel Thompson
On Mon, Jun 19, 2023 at 05:02:49PM +0100, Mans Rullgard wrote: > The led_access lock must be held when calling led_sysfs_enable() and > led_sysfs_disable(). This fixes warnings such as this: > > [2.432495] [ cut here ] > [2.437316] WARNING: CPU: 0 PID: 22 at drivers

[PATCH] backlight: led_bl: take led_access lock when required

2023-06-20 Thread Mans Rullgard
The led_access lock must be held when calling led_sysfs_enable() and led_sysfs_disable(). This fixes warnings such as this: [2.432495] [ cut here ] [2.437316] WARNING: CPU: 0 PID: 22 at drivers/leds/led-core.c:349 led_sysfs_disable+0x54/0x58 [2.446105] Modules