Re: Patch "spi: Fix controller unregister order" has been added to the 4.4-stable tree

From: Greg KH
Date: Sun Dec 06 2020 - 04:47:35 EST


On Sat, Dec 05, 2020 at 06:42:07PM +0100, Lukas Wunner wrote:
> On Sat, Oct 10, 2020 at 04:41:09PM +0800, yangerkun wrote:
> > ?? 2020/6/16 9:56, Sasha Levin ????:
> > > This is a note to let you know that I've just added the patch titled
> > >
> > > spi: Fix controller unregister order
> > >
> > > to the 4.4-stable tree which can be found at:
> [...]
> > > --- a/drivers/spi/spi.c
> > > +++ b/drivers/spi/spi.c
> > > @@ -1922,11 +1922,12 @@ void spi_unregister_master(struct spi_master *master)
> > > dev_err(&master->dev, "queue remove failed\n");
> > > }
> > > + device_for_each_child(&master->dev, NULL, __unregister);
> > > +
> >
> > This is a wrong patch. We should move this line before
> > spi_destroy_queue, but we didn't. 4.9 stable exists this
> > problem too.
>
> Hi Sasha, Hi Greg,
>
> below please find a patch for the 4.9-stable tree to fix the backporting
> issue reported above.

Now applied, thanks.

greg k-h