Re: [PATCH -next v3] pinctrl: ocelot: add missing destroy_workqueue() in error path in ocelot_pinctrl_probe()

From: Yang Yingliang
Date: Thu Oct 06 2022 - 01:54:24 EST


Hi,

On 2022/10/5 3:57, Linus Walleij wrote:
On Tue, Oct 4, 2022 at 1:46 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
On Sun, Sep 25, 2022 at 4:06 AM Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote:

Using devm_add_action_or_reset() to make workqueue device-managed, so it can be
destroy whenever the driver is unbound.

Fixes: c297561bc98a ("pinctrl: ocelot: Fix interrupt controller")
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
v3:
Using devm_add_action_or_reset().
Patch applied, after deleting the hunks removing .remove because
that was already gone upstream.
Ah, the patch introducing that is in the MFD tree is it not?

Either ask Lee to apply it or wait until -rc1 it's no big deal
anyway. Remind me in two weeks.
It's OK.

Thanks,
Yang

Yours,
Linus Walleij
.