mirror-linux/drivers/gpu/drm/tegra
Johan Hovold bfef062695 drm/tegra: dsi: fix device leak on probe
Make sure to drop the reference taken when looking up the companion
(ganged) device and its driver data during probe().

Note that holding a reference to a device does not prevent its driver
data from going away so there is no point in keeping the reference.

Fixes: e94236cde4 ("drm/tegra: dsi: Add ganged mode support")
Fixes: 221e3638fe ("drm/tegra: Fix reference leak in tegra_dsi_ganged_probe")
Cc: stable@vger.kernel.org	# 3.19: 221e3638fe
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20251121164201.13188-1-johan@kernel.org
2026-01-14 15:23:17 +01:00
..
Kconfig
Makefile drm/tegra: Add NVJPG driver 2025-11-14 19:41:55 +01:00
dc.c drm-next for 6.19-rc1: 2025-12-04 08:53:30 -08:00
dc.h
dp.c
dp.h
dpaux.c
dpaux.h
drm.c host1x: Make remove callback return void 2026-01-13 12:25:38 +01:00
drm.h drm/tegra: Add NVJPG driver 2025-11-14 19:41:55 +01:00
dsi.c drm/tegra: dsi: fix device leak on probe 2026-01-14 15:23:17 +01:00
dsi.h
falcon.c
falcon.h
fb.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
fbdev.c drm/fb-helper: Allocate and release fb_info in single place 2025-11-25 11:02:43 +01:00
firewall.c
gem.c drm/tegra: Compute dumb-buffer sizes with drm_mode_size_dumb() 2025-09-29 14:00:57 +02:00
gem.h
gr2d.c
gr2d.h
gr3d.c
gr3d.h
hda.c
hda.h
hdmi.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
hdmi.h
hub.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
hub.h
mipi-phy.c
mipi-phy.h
nvdec.c
nvjpg.c drm/tegra: Add NVJPG driver 2025-11-14 19:41:55 +01:00
output.c
plane.c
plane.h
rgb.c
riscv.c
riscv.h
sor.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
sor.h
submit.c
submit.h
trace.c
trace.h
uapi.c drm/tegra: Add call to put_pid() 2025-11-14 18:17:51 +01:00
uapi.h
vic.c
vic.h