Re: [PATCH v7 1/4] driver core: don't always lock parent in shutdown

Christoph Hellwig
2024-06-27T05:51:30Z

On Wed, Jun 26, 2024 at 02:46:47PM -0500, Stuart Hayes wrote:
> Don't lock a parent device unless it is needed in device_shutdown. This
> is in preparation for making device shutdown asynchronous, when it will
> be needed to allow children of a common parent to shut down
> simultaneously.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

.. but I guess this means async shutdown won't work well for busses
that set this flag (just usb currently)?