commit | 77b922683e9e5b3bb55102182979b04cd13076ad | [log] [tgz] |
---|---|---|
author | Miaoqian Lin <linmq006@gmail.com> | Thu Apr 21 17:03:09 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 09 09:05:05 2022 +0200 |
tree | ed5156acbd38d2d90dd123d6c95d5c507048fdf1 | |
parent | 18068e0527d4eb92291ddfed183c921bc92f3869 [diff] |
drm/amd/display: Fix memory leak in dcn21_clock_source_create [ Upstream commit 65e54987508b6f0771f56bdfa3ee1926d52785ae ] When dcn20_clk_src_construct() fails, we need to release clk_src. Fixes: 6f4e6361c3ff ("drm/amd/display: Add Renoir resource (v2)") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>