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

From: Christoph Hellwig
Date: Thu Jun 27 2024 - 01:51:35 EST


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@xxxxxx>

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