]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39cea001cd9daa2ea86132a4dbfd1ca5de3a6172
tree011febcd71c48f238940408d08c4a58f8363735b
parentecbce6d684d3d4895fcb8456bca0960580333cb6
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