Skip to content
Commit 221e3638 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Thierry Reding
Browse files

drm/tegra: Fix reference leak in tegra_dsi_ganged_probe



The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore. Add put_device() call to fix this.

Fixes: e94236cd ("drm/tegra: dsi: Add ganged mode support")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent f07f04a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment