Re: [PATCH v2 3/6] leds: lm3601x: Don't use mutex after it was destroyed

Wolfram Sang
2022-08-16T11:24:34Z

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

On Mon, Aug 15, 2022 at 10:02:27AM +0200, Uwe Kleine-König wrote:
> The mutex might still be in use until the devm cleanup callback
> devm_led_classdev_flash_release() is called. This only happens some time
> after lm3601x_remove() completed.
>
> Fixes: e63a744871a3 ("leds: lm3601x: Convert class registration to device managed")
> Acked-by: Pavel Machek <pavel@ucw.cz>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Applied to an immutable branch, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]