]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: imx8ulp: add missing of_node_put() in imx8ulp_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 24 Aug 2022 01:32:34 +0000 (09:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Aug 2022 11:21:28 +0000 (12:21 +0100)
commitfeed9603d3fade853ec1f541a8255c512fa5b690
tree0753b9a252928d430b0691fcf00653b2e7eba14e
parent61e4550df64a179d52611a67f95bd0576e58411a
ASoC: SOF: imx8ulp: add missing of_node_put() in imx8ulp_probe()

After using 'res_node' returned by of_parse_phandle(), of_node_put()
need be called to decrease the refcount.

Fixes: 583da35c6dce ("ASoC: SOF: imx: Add i.MX8ULP HW support")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220824013234.375738-2-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8ulp.c