diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-12-29 12:29:46 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-03-15 03:53:11 +0300 |
commit | f1d97a37f975ac615e4d6875c27516150642d499 (patch) | |
tree | 03760d10ec73ac1296c481ad32937a2faf0e2ada /drivers/clk/clk.c | |
parent | d02fddf24f984b977633c56e10653a8ff19e8c7b (diff) | |
download | linux-f1d97a37f975ac615e4d6875c27516150642d499.tar.xz |
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 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions