diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-29 17:29:46 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-03-14 17:53:11 -0700 |
commit | f1d97a37f975ac615e4d6875c27516150642d499 (patch) | |
tree | 03760d10ec73ac1296c481ad32937a2faf0e2ada /lib/test-string_helpers.c | |
parent | d02fddf24f984b977633c56e10653a8ff19e8c7b (diff) |
clk: mediatek: clk-pllfh: fix missing of_node_put() in fhctl_parse_dt()
The device_node pointer returned by of_find_compatible_node() with
refcount incremented, when finish using it, the refcount need be
decreased.
Fixes: d7964de8a8ea ("clk: mediatek: Add new clock driver to handle FHCTL hardware")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221229092946.4162345-1-yangyingliang@huawei.com
[sboyd@kernel.org: Also unmap on error]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions