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)
commitadc641f1dbce48914445efb79f302380ff10df10
tree0753b9a252928d430b0691fcf00653b2e7eba14e
parent7d3ac70d82080f7a934402d66c5238e1d99be412
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: fb5319af6ad8 ("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