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

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-15 14:18:19 +02:00
..
clk-audio-sync.c
clk-bpmp.c
clk-dfll.c clk: tegra: Do not return 0 on failure 2020-12-30 11:51:46 +01:00
clk-dfll.h
clk-divider.c
clk-emc.c clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver 2022-04-15 14:18:19 +02:00
clk-id.h clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:51:24 +01:00
clk-periph-fixed.c
clk-periph-gate.c
clk-periph.c
clk-pll-out.c
clk-pll.c clk: tegra: Ensure that PLLU configuration is applied properly 2021-07-19 08:53:09 +02:00
clk-sdmmc-mux.c
clk-super.c
clk-tegra20.c
clk-tegra30.c clk: tegra30: Add hda clock default rates to clock driver 2021-01-27 11:47:44 +01:00
clk-tegra114.c
clk-tegra124-dfll-fcpu.c
clk-tegra124.c
clk-tegra210.c
clk-tegra-audio.c
clk-tegra-fixed.c
clk-tegra-periph.c clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:51:24 +01:00
clk-tegra-pmc.c
clk-tegra-super-gen4.c
clk-utils.c
clk.c
clk.h
cvb.c
cvb.h
Kconfig
Makefile