ASoC: SOF: imx: Add missing of_node_put() in imx8_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 17 Jun 2021 03:27:56 +0000 (11:27 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jun 2021 11:47:13 +0000 (12:47 +0100)
commit0ba0f44fd516b34c9f40cd82fd480705d0f378dc
tree011febcd71c48f238940408d08c4a58f8363735b
parentd245fff1013cb7456ea9ca3f7b858e438c6bbf79
ASoC: SOF: imx: Add missing of_node_put() in imx8_probe()

This node pointer is returned by of_parse_phandle() with refcount
incremented in this function. of_node_put() on it before exiting
this function.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210617032756.599359-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8.c