kernel_samsung_a53x/drivers/gpu/drm/bridge
Adam Miotk be2479298b drm/bridge/panel: Fix runtime warning on panel bridge release
[ Upstream commit ce62600c4dbee8d43b02277669dd91785a9b81d9 ]

Device managed panel bridge wrappers are created by calling to
drm_panel_bridge_add_typed() and registering a release handler for
clean-up when the device gets unbound.

Since the memory for this bridge is also managed and linked to the panel
device, the release function should not try to free that memory.
Moreover, the call to devm_kfree() inside drm_panel_bridge_remove() will
fail in this case and emit a warning because the panel bridge resource
is no longer on the device resources list (it has been removed from
there before the call to release handlers).

Fixes: 67022227ffb1 ("drm/bridge: Add a devm_ allocator for panel bridge.")
Signed-off-by: Adam Miotk <adam.miotk@arm.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240610102739.139852-1-adam.miotk@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:03 +01:00
..
adv7511 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
analogix Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cadence drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference 2024-11-19 12:26:58 +01:00
synopsys Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdns-dsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chrontel-ch7033.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
display-connector.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lontium-lt9611.c drm/bridge: lt9611: Don't log an error when DSI host can't be found 2024-11-19 12:26:58 +01:00
lvds-codec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megachips-stdpxxxx-ge-b850v3-fw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nwl-dsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nwl-dsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: simplify some error checking 2024-11-18 12:13:03 +01:00
panel.c drm/bridge/panel: Fix runtime warning on panel bridge release 2024-11-19 14:19:03 +01:00
parade-ps8622.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parade-ps8640.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sii902x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sii9234.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sil-sii8620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sil-sii8620.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
simple-bridge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358762.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358764.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358767.c drm/bridge: tc358767: Fix return value on error case 2024-11-18 12:12:40 +01:00
tc358768.c drm/bridge: tc358768: Fix bit updates 2024-11-18 11:42:55 +01:00
tc358775.c drm/bridge: tc358775: fix support for jeida-18 and jeida-24 2024-11-19 12:27:06 +01:00
thc63lvd1024.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-sn65dsi86.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-tfp410.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-tpd12s015.c drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function 2024-11-18 12:12:39 +01:00