Re: [PATCH] spi: Fix spi device unregister flow

From: Andy Shevchenko
Date: Tue Apr 27 2021 - 07:42:39 EST

On Tue, Apr 27, 2021 at 1:49 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Tue, Apr 27, 2021 at 09:52:48AM +0300, Andy Shevchenko wrote:
> > +Cc Lukas
> The cleanup callback has been in release() since the framework was
> merged AFAICT.


Personally it feels to me wrong to require device_release() being
atomic. It might be that I missed something in documentation or
somewhere else that suggests the opposite.
But let's wait for other comments if any.

With Best Regards,
Andy Shevchenko