commit | 1e06710c43a090f14bb67714265a01cd1d7a37c5 | [log] [tgz] |
---|---|---|
author | Miaoqian Lin <linmq006@gmail.com> | Mon Jan 10 06:53:16 2022 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 08 14:40:18 2022 +0200 |
tree | fd1d63b87b5527d3c9bb102d3952765f04e80d44 | |
parent | 9ffa07c699a72fc351620ee3cf6797d1a8abe37f [diff] |
drm/tegra: Fix reference leak in tegra_dsi_ganged_probe [ Upstream commit 221e3638feb8bc42143833c9a704fa89b6c366bb ] The reference taken by 'of_find_device_by_node()' must be released when not needed anymore. Add put_device() call to fix this. Fixes: e94236cde4d5 ("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>