Commit bfef062
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: e94236c ("drm/tegra: dsi: Add ganged mode support")
Fixes: 221e363 ("drm/tegra: Fix reference leak in tegra_dsi_ganged_probe")
Cc: stable@vger.kernel.org # 3.19: 221e363
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.org1 parent cd98e73 commit bfef062
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
| 1545 | + | |
| 1546 | + | |
1548 | 1547 | | |
1549 | | - | |
1550 | 1548 | | |
1551 | 1549 | | |
1552 | 1550 | | |
| |||
0 commit comments