]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: ti-sn65dsi83: use dynamic lifetime management
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Wed, 26 Mar 2025 17:47:38 +0000 (18:47 +0100)
committerLouis Chauvet <louis.chauvet@bootlin.com>
Mon, 7 Apr 2025 09:38:05 +0000 (11:38 +0200)
commitcb14da141e660494217442f130a18c1dcc33355f
treebda743af54051d3182b772a9b926ffb20cdab120
parentb3f13e00a8de351832df7d628a15ca4db49ca94f
drm/bridge: ti-sn65dsi83: use dynamic lifetime management

Allow this bridge to be removable without dangling pointers and
use-after-free, together with proper use of drm_bridge_get() and _put() by
consumers.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250326-drm-bridge-refcount-v9-4-5e0661fe1f84@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
drivers/gpu/drm/bridge/ti-sn65dsi83.c