Re: [PATCH 5/9] driver core: do not always lock parent in shutdown
From: sashiko-bot
Date: Thu Sep 17 2026 - 15:22:53 EST
> 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.
>
> And only acquire a reference to the parent device if the parent is to be
> locked.
>
> Signed-off-by: Stuart Hayes <stuart.w.hayes@xxxxxxxxx>
> Signed-off-by: David Jeffery <djeffery@xxxxxxxxxx>
> Signed-off-by: Tarun Sahu <tarunsahu@xxxxxxxxxx>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260917163744.191748-1-djeffery@xxxxxxxxxx?part=5