remoteproc: imx_rproc: add missing of_node_put
authorPeng Fan <peng.fan@nxp.com>
Thu, 8 Apr 2021 01:44:46 +0000 (09:44 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 14 Apr 2021 02:10:32 +0000 (21:10 -0500)
commit6e962bfe56b99843ab716dc8a9438039476c99e2
treedc01b81d9852b4b1d05f711f0d957adb2709972f
parent889cb0d43d18ed348971e49378ed6a63e3a4745e
remoteproc: imx_rproc: add missing of_node_put

After of_parse_phandle, we need of_node_put to decrease the refcount
of the device_node.

Reported-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/1617846289-13496-2-git-send-email-peng.fan@oss.nxp.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/imx_rproc.c