[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176913250651.4027.13580353440284678626@lazor>
Date: Thu, 22 Jan 2026 18:41:46 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Johan Hovold <johan@...nel.org>, Michael Turquette <mturquette@...libre.com>, Peter De Schrijver <pdeschrijver@...dia.com>, Prashant Gaikwad <pgaikwad@...dia.com>
Cc: Thierry Reding <thierry.reding@...il.com>, Mikko Perttunen <mperttunen@...dia.com>, Miaoqian Lin <linmq006@...il.com>, linux-clk@...r.kernel.org, linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org, Johan Hovold <johan@...nel.org>, stable@...r.kernel.org
Subject: Re: [PATCH] clk: tegra: tegra124-emc: fix device leak on set_rate()
Quoting Johan Hovold (2025-11-21 09:40:03)
> Make sure to drop the reference taken when looking up the EMC device and
> its driver data on first set_rate().
>
> Note that holding a reference to a device does not prevent its driver
> data from going away so there is no point in keeping the reference.
>
> Fixes: 2db04f16b589 ("clk: tegra: Add EMC clock driver")
> Fixes: 6d6ef58c2470 ("clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver")
> Cc: stable@...r.kernel.org # 4.2: 6d6ef58c2470
> Cc: Mikko Perttunen <mperttunen@...dia.com>
> Cc: Miaoqian Lin <linmq006@...il.com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists