Re: [PATCH v1 1/9] mfd: Add core driver for Nuvoton NCT6694

From: Ming Yu
Date: Fri Oct 25 2024 - 06:22:35 EST


Got it! I'll make the change in the next patch.

Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> 於 2024年10月25日 週五 下午5:02寫道:
>
> On 25.10.2024 10:35:35, Marc Kleine-Budde wrote:
> > > Excuse me, I'm a bit confused. Is there anything I need to
> > > improve on?
> >
> > It looks racy to _first_ add the devices and _then_ the workqueue.
> >
> > So the obvious solution is to allocate the worklist first and then add
> workqueue
> > the devices.
>
> Marc
>
> --
> Pengutronix e.K. | Marc Kleine-Budde |
> Embedded Linux | https://www.pengutronix.de |
> Vertretung Nürnberg | Phone: +49-5121-206917-129 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |