linux/drivers/clk/tegra
Miaoqian Lin e025c66387 clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
[ Upstream commit 6d6ef58c24 ]

The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling path.

Fixes: 2db04f16b5 ("clk: tegra: Add EMC clock driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20220112104501.30655-1-linmq006@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:26 +02:00
..
clk-audio-sync.c
clk-bpmp.c
clk-dfll.c clk: tegra: Do not return 0 on failure 2020-12-30 11:54:26 +01:00
clk-dfll.h
clk-divider.c
clk-id.h clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:53:49 +01:00
clk-periph-fixed.c
clk-periph-gate.c clk: tegra: Fix refcounting of gate clocks 2021-07-19 09:44:43 +02:00
clk-periph.c clk: tegra: Fix refcounting of gate clocks 2021-07-19 09:44:43 +02:00
clk-pll-out.c
clk-pll.c clk: tegra: Ensure that PLLU configuration is applied properly 2021-07-19 09:44:43 +02:00
clk-sdmmc-mux.c clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops 2021-08-12 13:22:04 +02:00
clk-super.c
clk-tegra-audio.c
clk-tegra-fixed.c
clk-tegra-periph.c clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:53:49 +01:00
clk-tegra-super-cclk.c clk: tegra: cclk: Add helpers for handling PLLX rate changes 2020-05-12 22:48:43 +02:00
clk-tegra-super-gen4.c
clk-tegra20-emc.c
clk-tegra20.c clk: tegra20: Use custom CCLK implementation 2020-05-12 22:48:43 +02:00
clk-tegra30.c clk: tegra30: Use 300MHz for video decoder by default 2021-07-14 16:56:19 +02:00
clk-tegra114.c
clk-tegra124-dfll-fcpu.c
clk-tegra124-emc.c clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver 2022-04-08 14:40:26 +02:00
clk-tegra124.c clk: tegra: Fix initial rate for pll_a on Tegra124 2020-05-12 16:26:18 -07:00
clk-tegra210-emc.c This pull request contains zero diff to the core framework. It is a collection 2020-10-22 12:53:28 -07:00
clk-tegra210.c clk: tegra: Add Tegra210 CSI TPG clock gate 2020-05-12 22:48:43 +02:00
clk-utils.c
clk.c
clk.h clk: tegra: cclk: Add helpers for handling PLLX rate changes 2020-05-12 22:48:43 +02:00
cvb.c
cvb.h
Kconfig clk: tegra: Rename Tegra124 EMC clock source file 2020-05-12 22:48:41 +02:00
Makefile clk: tegra: Add custom CCLK implementation 2020-05-12 22:48:42 +02:00