On Mon, 22 Jul 2024 08:19:30 -0700 Keith Busch <kbusch@xxxxxxxx> wrote: > From: Keith Busch <kbusch@xxxxxxxxxx> > > Use an atomic flag instead of the racey check against the device's kobj > parent. We shouldn't be poking into device implementation details at > this level anyway. > > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Absolutely agree we shouldn't be poking the kobj parent here.