Re: [PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-05-08 Thread Thierry Reding
On Wed, May 07, 2025 at 04:10:07PM +, Biju Das wrote: > Hi Thierry, > > > -Original Message- > > From: Thierry Reding > > Sent: 07 May 2025 17:00 > > To: Biju Das > > Subject: Re: [PATCH] drm/tegra: rgb: Fix the unbound reference count > &g

RE: [PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-05-07 Thread Biju Das
Hi Thierry, > -Original Message- > From: Thierry Reding > Sent: 07 May 2025 17:00 > To: Biju Das > Subject: Re: [PATCH] drm/tegra: rgb: Fix the unbound reference count > > On Wed, Feb 05, 2025 at 11:21:35AM +, Biju Das wrote: > > The of_get_child_by_nam

Re: [PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-05-07 Thread Thierry Reding
On Wed, Feb 05, 2025 at 11:21:35AM +, Biju Das wrote: > The of_get_child_by_name() increments the refcount in tegra_dc_rgb_probe, > but the driver does not decrement the refcount during unbind. Fix the > unbound reference count using devm_add_action_or_reset() helper. > > Fixes: d8f4a9eda006 (

Re: [PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-05-07 Thread Thierry Reding
On Wed, Feb 05, 2025 at 11:21:35AM +, Biju Das wrote: > The of_get_child_by_name() increments the refcount in tegra_dc_rgb_probe, > but the driver does not decrement the refcount during unbind. Fix the > unbound reference count using devm_add_action_or_reset() helper. > > Fixes: d8f4a9eda006 (

RE: [PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-02-21 Thread Biju Das
Hi all, > -Original Message- > From: Biju Das > Sent: 05 February 2025 11:22 > Subject: [PATCH] drm/tegra: rgb: Fix the unbound reference count > > The of_get_child_by_name() increments the refcount in tegra_dc_rgb_probe, but > the driver does not > decrement th

[PATCH] drm/tegra: rgb: Fix the unbound reference count

2025-02-05 Thread Biju Das
The of_get_child_by_name() increments the refcount in tegra_dc_rgb_probe, but the driver does not decrement the refcount during unbind. Fix the unbound reference count using devm_add_action_or_reset() helper. Fixes: d8f4a9eda006 ("drm: Add NVIDIA Tegra20 support") Signed-off-by: Biju Das --- dri