drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
stable inclusion from stable-v5.10.110 commit 1e06710c43a090f14bb67714265a01cd1d7a37c5 bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1e06710c43a090f14bb67714265a01cd1d7a37c5 -------------------------------- [ Upstream commit 221e3638 ] 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:Miaoqian Lin <linmq006@gmail.com> Signed-off-by:
Thierry Reding <treding@nvidia.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yu Liao <liaoyu15@huawei.com> Reviewed-by:
Wei Li <liwei391@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment