Messages in this thread | | | Date | Wed, 5 May 2021 13:38:40 +0100 | From | Mark Brown <> | Subject | Re: [PATCH v1] spi: Don't have controller clean up spi device before driver unbind |
| |
On Wed, May 05, 2021 at 07:48:38AM +0200, Lukas Wunner wrote:
> As I've written yesterday, calling spi_cleanup() in > spi_unregister_device() should be fine if you move it to the end > of the function, but before the final put_device(). For that, > you need to open code the calls to device_del() and put_device() > that happen in device_unregister() so far.
Indeed. [unhandled content-type:application/pgp-signature] | |