linux/drivers/media/platform/mtk-mdp
Ezequiel Garcia b3ab1c6058 media: Add V4L2_TYPE_IS_CAPTURE helper
It's all too easy to get confused by the V4L2_TYPE_IS_OUTPUT
macro, when it's used as !V4L2_TYPE_IS_OUTPUT.

Reduce the risk of confusion with macro to explicitly
check for the CAPTURE queue type case.

This change does not affect functionality, and it's
only intended to make the code more readable.

Suggested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: checkpatch: align with parenthesis]
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-19 08:13:24 +02:00
..
Makefile
mtk_mdp_comp.c media: mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality 2020-07-04 12:01:29 +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
mtk_mdp_m2m.c media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
mtk_mdp_m2m.h
mtk_mdp_regs.c
mtk_mdp_regs.h
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