[PATCH v2 12/16] drm/drm_of: Keep up with refcounting
From: Anusha Srivatsa
Date: Thu Jun 19 2025 - 15:20:42 EST
Put the panel reference back to keep up
with refcounting.
Patch added in v2.
Signed-off-by: Anusha Srivatsa <asrivats@xxxxxxxxxx>
---
drivers/gpu/drm/drm_of.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c
index d0183dea770308e77f05da364ffe087d53f3be36..2bd07de69526781d25236f480d029a7ee2ea483e 100644
--- a/drivers/gpu/drm/drm_of.c
+++ b/drivers/gpu/drm/drm_of.c
@@ -280,6 +280,8 @@ int drm_of_find_panel_or_bridge(const struct device_node *np,
}
+ drm_panel_put(*panel);
+
of_node_put(remote);
return ret;
}
--
2.48.1