drm/tegra: sor: Disable clocks on error in tegra_sor_init()
authorQinglang Miao <miaoqinglang@huawei.com>
Fri, 30 Oct 2020 01:34:24 +0000 (09:34 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Nov 2020 17:44:48 +0000 (18:44 +0100)
commitbf3a3cdcad40e5928a22ea0fd200d17fd6d6308d
tree713b27b755121f9f3bf52287e8e395041fb1c752
parent123f01a0c989905a1cef6c1397a022eb321474d8
drm/tegra: sor: Disable clocks on error in tegra_sor_init()

Fix the missing clk_disable_unprepare() before return from
tegra_sor_init() in the error handling case.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c