Re: [PATCH] drm/appletbdrm: Fix ref-counting on dmadev

2025-03-07 Thread Aditya Garg
> On 7 Mar 2025, at 2:48 PM, Thomas Zimmermann wrote: > > Hi > > Am 07.03.25 um 10:16 schrieb Aditya Garg: >> Hi Thomas >> >>> On 7 Mar 2025, at 2:06 PM, Thomas Zimmermann wrote: >>> >>> Remove the put_device() call on dmadev. The driver sets the field >>> without getting a reference, so it

Re: [PATCH] drm/appletbdrm: Fix ref-counting on dmadev

2025-03-07 Thread Thomas Zimmermann
Hi Am 07.03.25 um 10:16 schrieb Aditya Garg: Hi Thomas On 7 Mar 2025, at 2:06 PM, Thomas Zimmermann 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

Re: [PATCH] drm/appletbdrm: Fix ref-counting on dmadev

2025-03-07 Thread Aditya Garg
Hi Thomas > On 7 Mar 2025, at 2:06 PM, Thomas Zimmermann 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