]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2a65bb9483b83a6f7e9506c7675bdfa62cea537
tree713b27b755121f9f3bf52287e8e395041fb1c752
parentedc9ff2c78be9a46ee4b56e2f4c5eba32a599f17
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