Hi Thomas > On 7 Mar 2025, at 2:06 PM, Thomas Zimmermann <[email protected]> wrote: > > Remove the put_device() call on dmadev. The driver sets the field > without getting a reference, so it shouldn't put a reference either. > The dmadev field points to the regular USB device for which DRM > maintains a reference internally. Hence dmadev will not become dangling > during the DRM device's lifetime. > > Signed-off-by: Thomas Zimmermann <[email protected]> > Fixes: 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs") > Cc: Aditya Garg <[email protected]> > Cc: Aun-Ali Zaidi <[email protected]> > Cc: [email protected] > --- > drivers/gpu/drm/tiny/appletbdrm.c | 1 - > 1 file changed, 1 deletion(-) >
Aren’t we doing the same over here: https://lore.kernel.org/dri-devel/[email protected]/T/#u
