Re: [PATCH net v2 0/4] net: dsa: realtek: use devm_mutex_init

From: Linus Walleij

Date: Mon Jul 27 2026 - 08:32:10 EST


On Mon, Jul 27, 2026 at 3:56 AM Luiz Angelo Daros de Luca
<luizluca@xxxxxxxxx> wrote:

> This series fixes mutex teardown in the Realtek DSA drivers.
>
> With CONFIG_DEBUG_MUTEXES enabled, mutex_destroy() must be called before
> the mutex is discarded. Using devm_mutex_init() lets the driver core
> handle that automatically.
>
> The changes are split into individual commits based on the feature that
> introduced each lock to allow proper backports to stable trees.
>
> Signed-off-by: Luiz Angelo Daros de Luca <luizluca@xxxxxxxxx>

The series:
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij