Re: Regression: spi: core: avoid waking pump thread from spi_sync instead run teardown delayed
From: Mark Brown
Date: Tue Jan 15 2019 - 14:27:24 EST
On Tue, Jan 15, 2019 at 04:09:14PM +0000, Jon Hunter wrote:
> On 15/01/2019 15:10, Mark Brown wrote:
> > On Tue, Jan 15, 2019 at 02:26:02PM +0000, Jon Hunter wrote:
> > Right, I think with the current code we just shouldn't be checking for
> > busy in teardown, since there's now a fairly big delay between idle and
> > actually turning the hardware off the name is just super misleading and
> > the logic confused. I don't have time to test right now but does
> > something like the below which changes it to a flag for the hardware
> > being powered up work:
> I tried your change but the same problem still persists.
OK, I feared as much with the stats not showing any activity. I do
think it needs a cleanup still but probably won't help here.
Attachment:
signature.asc
Description: PGP signature