[PATCH] clk: imx6ul: fix missing of_node_put()
From: sboyd@kernel.org (Stephen Boyd)
Date: 2018-07-13 16:27:33
Also in:
linux-clk, lkml
From: sboyd@kernel.org (Stephen Boyd)
Date: 2018-07-13 16:27:33
Also in:
linux-clk, lkml
Quoting Nicholas Mc Guire (2018-07-13 04:13:20)
of_find_compatible_node() is returning a device node with refcount
incremented and must be explicitly decremented after the last use
which is right after the us in of_iomap() here.
Signed-off-by: Nicholas Mc Guire <redacted>
Fixes: commit 787b4271a6a0 ("clk: imx: add imx6ul clk tree support")This is not how a Fixes line works. It doesn't have 'commit'. I'll remove it when applying so no need to resend.