]> git.baikalelectronics.ru Git - kernel.git/commit
drm/logicvc: add missing of_node_put() in logicvc_layers_init()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 14 Jun 2022 11:21:12 +0000 (19:21 +0800)
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 24 Jun 2022 15:23:38 +0000 (17:23 +0200)
commit7d92580f0ed4a016aff84ffc46cba50757d7b000
tree643b00f5b64ea28afeb6bfab77835dd942001624
parent1e3450a07c7b2223908192bc2985df392ac5409f
drm/logicvc: add missing of_node_put() in logicvc_layers_init()

The of_node_put() need be called in error path in logicvc_layers_init().

Fixes: 03b72aa1419a ("drm: Add support for the LogiCVC display controller")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220614112112.1537319-1-yangyingliang@huawei.com
drivers/gpu/drm/logicvc/logicvc_layer.c