]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
authorZhang Zekun <zhangzekun11@huawei.com>
Tue, 2 Aug 2022 08:50:50 +0000 (08:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:06 +0000 (11:41 +0100)
commit7417db36e6cf4ad0ecc2d17f13340cb96438edbc
tree32e48d634cae4d552a807615d5b1c4d1746bc041
parent748156f68c24045cc91adf4506108fc3efd9f102
drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()

[ Upstream commit 7ad4384d53c67672a8720cdc2ef638d7d1710ab8 ]

Add the missing clk_disable_unprepare() before return from
tegra_dc_probe() in the error handling path.

Fixes: 07df08b35680 ("drm/tegra: dc: Link DC1 to DC0 on Tegra20")
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/dc.c