> 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 <[email protected]> > Signed-off-by: David Jeffery <[email protected]> > Signed-off-by: Tarun Sahu <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=5
