Re: [PATCH v2] clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver

Thierry Reding
2022-02-25T13:16:10Z

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

On Wed, Jan 12, 2022 at 10:45:01AM +0000, Miaoqian Lin wrote:
> 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: 2db04f16b589 ("clk: tegra: Add EMC clock driver")
> Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
> ---
> Changes in v2:
> - add fixes tag.
> ---
> drivers/clk/tegra/clk-tegra124-emc.c | 1 +
> 1 file changed, 1 insertion(+)

Stephen, Mike,

I don't have anything else for clock tree this cycle, so perhaps best
for you guys to pick this up directly:

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]