diff options
| author | Osama Abdelkader <osama.abdelkader@gmail.com> | 2026-04-03 16:52:05 +0200 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-04-14 12:29:03 +0200 |
| commit | be19b43f92fae4794f271ed9e338bdbcfa725aa2 (patch) | |
| tree | d7be9664b5ec91842b797de1d7cee504cb630461 /drivers/virt | |
| parent | ad3ac32a3893a2bbcad545efc005a8e4e7ecf10c (diff) | |
drm/bridge: dw-mipi-dsi: Fix bridge leak when host attach fails
dw_mipi_dsi_host_attach() and dw_mipi_dsi2_host_attach() call
drm_bridge_add() before pdata->host_ops->attach(). If attach fails,
the bridge stayed registered without drm_bridge_remove(), leaking the
bridge reference and leaving the device on the global bridge list.
Fixes: 90910a651123 ("drm/bridge/synopsys: dsi: add ability to have glue-specific attach and detach")
Fixes: 0d6d86253fef ("drm/bridge/synopsys: Add MIPI DSI2 host controller bridge")
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patch.msgid.link/20260403145208.15890-1-osama.abdelkader@gmail.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions
