1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/bridge
Adam Miotk ce62600c4d
drm/bridge/panel: Fix runtime warning on panel bridge release
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: 67022227ff ("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
2024-06-10 13:22:05 +02:00
..
adv7511 drm/bridge: adv7511: Attach next bridge without creating connector 2024-05-20 00:23:23 +03:00
analogix Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
cadence Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
imx Revert "drm: Make drivers depends on DRM_DW_HDMI" 2024-05-02 17:59:59 +02:00
synopsys Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
aux-bridge.c drm/bridge: properly refcount DT nodes in aux bridge drivers 2023-12-19 02:06:16 +02:00
aux-hpd-bridge.c drm/bridge: aux-hpd: separate allocation and registration 2024-02-23 17:00:56 +02:00
chipone-icn6211.c drm/bridge: chipone-icn6211: drop driver owner assignment 2024-04-24 12:42:45 +03:00
chrontel-ch7033.c drm/bridge: chrontel-ch7033: switch to drm_bridge_edid_read() 2024-02-08 17:11:04 +02:00
cros-ec-anx7688.c drm: Switch i2c drivers back to use .probe() 2023-05-30 16:55:16 -07:00
display-connector.c drm/bridge: display-connector: switch to ->edid_read callback 2024-02-09 10:15:29 +02:00
fsl-ldb.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
ite-it6505.c drm/print: drop include debugfs.h and include where needed 2024-04-25 17:05:48 +03:00
ite-it66121.c drm/bridge: it66121: Remove a duplicated invoke of of_device_is_available() 2024-03-18 16:16:20 +01:00
Kconfig Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
lontium-lt8912b.c drm/bridge: lt8912b: Don't log an error when DSI host can't be found 2024-04-16 15:18:53 +02:00
lontium-lt9211.c drm/bridge: lt9211: Convert to use maple tree register cache 2023-10-02 09:09:19 +02:00
lontium-lt9611.c drm/bridge: lt9611: Don't log an error when DSI host can't be found 2024-04-16 15:18:56 +02:00
lontium-lt9611uxc.c drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found 2024-04-16 15:18:59 +02:00
lvds-codec.c drm/bridge: lvds-codec: Implement atomic_get_input_bus_fmts for LVDS encoder 2023-08-11 15:09:59 +02:00
Makefile drm/bridge: add lvds controller support for sam9x7 2024-04-23 09:29:43 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips: switch to ->edid_read callback 2024-02-09 10:15:41 +02:00
microchip-lvds.c drm/bridge: add lvds controller support for sam9x7 2024-04-23 09:29:43 +02:00
nwl-dsi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
nwl-dsi.h drm/bridge: Add NWL MIPI DSI host controller support 2020-04-09 15:52:47 +02:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: switch to ->edid_read callback 2024-02-09 10:15:43 +02:00
panel.c drm/bridge/panel: Fix runtime warning on panel bridge release 2024-06-10 13:22:05 +02:00
parade-ps8622.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
parade-ps8640.c drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case 2024-01-17 12:08:02 -08:00
samsung-dsim.c Merge drm/drm-next into drm-misc-next 2024-02-07 13:02:20 +01:00
sii902x.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
sii9234.c drm: Switch i2c drivers back to use .probe() 2023-05-30 16:55:16 -07:00
sil-sii8620.c drm/bridge: fix -Wunused-const-variable= warning 2023-07-31 11:14:24 +02:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
simple-bridge.c drm: bridge: simple-bridge: clear the EDID property on failures 2024-02-08 17:12:21 +02:00
tc358762.c drm/bridge: tc358762: Handle HS/VS polarity 2023-06-22 11:13:31 +02:00
tc358764.c drm/bridge: tc358764: drop driver owner assignment 2024-04-24 12:42:45 +03:00
tc358767.c drm/bridge: tc358767: switch to ->edid_read callback 2024-02-09 10:16:16 +02:00
tc358768.c drm/bridge: tc358768: Attempt to fix DSI horizontal timings 2023-09-20 13:54:08 +02:00
tc358775.c drm/bridge: tc358775: Configure hs_rate and lp_rate 2024-04-23 17:33:23 +02:00
thc63lvd1024.c drm: bridge: thc63lvd1024: Print error message when DT parsing fails 2024-03-19 16:46:23 +01:00
ti-dlpc3433.c drm/bridge: dpc3433: Don't log an error when DSI host can't be found 2024-04-16 15:19:04 +02:00
ti-sn65dsi83.c Revert "drm/bridge: ti-sn65dsi83: Fix enable error path" 2024-05-02 23:40:13 +02:00
ti-sn65dsi86.c drm for 6.9: 2024-03-13 18:34:05 -07:00
ti-tfp410.c drm/bridge: tfp410: clear the EDID property on failures 2024-02-08 17:12:26 +02:00
ti-tpd12s015.c drm/bridge: tpd12s015: Convert to platform remove callback returning void 2023-11-21 09:17:53 +01:00