diff options
author | Liang He <windhl@126.com> | 2022-06-28 17:38:51 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-20 00:41:47 +0300 |
commit | a8ea4273bc26256ce3cce83164f0f51c5bf6e127 (patch) | |
tree | 3016318a44fdd5f338b74f9b0047bebeffb10314 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1d6aa08c54cd0e005210ab8e3b1e92ede70f8a4f (diff) | |
download | linux-a8ea4273bc26256ce3cce83164f0f51c5bf6e127.tar.xz |
clk: qoriq: Hold reference returned by of_get_parent()
In legacy_init_clockgen(), we need to hold the reference returned
by of_get_parent() and use it to call of_node_put() for refcount
balance.
Beside, in create_sysclk(), we need to call of_node_put() on 'sysclk'
also for refcount balance.
Fixes: 0dfc86b3173f ("clk: qoriq: Move chip-specific knowledge into driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220628143851.171299-1-windhl@126.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions