Re: [PATCH 2/2] power: supply: axp20x_usb_power: fix work-queue init
From: Greg Kroah-Hartman
Date: Fri Mar 26 2021 - 10:49:46 EST
On Wed, Mar 24, 2021 at 11:25:06AM +0100, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Mar 24, 2021 at 11:21:34AM +0200, Matti Vaittinen wrote:
> > The commit 6d0c5de2fd84
> > ("power: supply: Clean-up few drivers by using managed work init")
> > Re-introduced wrong order of initializing work-queue and requesting
> > the IRQs which was originally fixed by the commit b5e8642ed95f
> > ("power: supply: axp20x_usb_power: Init work before enabling IRQs")
> >
> > In addition this caused the work queue to be initialized twice.
> >
> > Fix it again.
> >
> > Fixes: 6d0c5de2fd84 ("power: supply: Clean-up few drivers by using managed work init")
> >
> > Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> > Reported-by: Chen-Yu Tsai <wens@xxxxxxxx>
> > ---
>
> Acked-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
>
> Needs to be merged by Greg, since I do not have 6d0c5de2fd84 in
> my tree.
Now merged, thanks.
greg k-h