diff options
| author | Johan Hovold <johan@kernel.org> | 2025-11-21 17:40:03 +0100 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2026-01-22 17:40:29 -0800 |
| commit | da61439c63d34ae6503d080a847f144d587e3a48 (patch) | |
| tree | bce41d4c4075d6e73e7d33e2b2f1df859c30a0ce /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | abe368db117ea61ace90880c80a12ee3c0d619e6 (diff) | |
clk: tegra: tegra124-emc: fix device leak on set_rate()
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@vger.kernel.org # 4.2: 6d6ef58c2470
Cc: Mikko Perttunen <mperttunen@nvidia.com>
Cc: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
