OpenCloudOS-Kernel/drivers/media/platform/mtk-mdp
Dan Carpenter dd4eddc4ba media: mtk-mdp: Fix a refcounting bug on error in init
We need to call of_node_put(comp->dev_node); on the error paths in this
function.

Fixes: c8eb2d7e82 ("[media] media: Add Mediatek MDP Driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-06 11:27:45 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk_mdp_comp.c media: mtk-mdp: Fix a refcounting bug on error in init 2020-08-06 11:27:45 +02:00
mtk_mdp_comp.h media: mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality 2020-07-04 12:01:29 +02:00
mtk_mdp_core.c media: mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality 2020-07-04 12:01:29 +02:00
mtk_mdp_core.h media: mtk-mdp: convert mtk_mdp_dev.comp array to list 2020-07-04 12:00:49 +02:00
mtk_mdp_ipi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_m2m.c media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
mtk_mdp_m2m.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_regs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_vpu.c media: mtk-vpu: avoid unaligned access to DTCM buffer. 2020-03-12 16:25:33 +01:00
mtk_mdp_vpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00