linux/drivers/media/platform/sti/hva
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
..
hva-debugfs.c media: platform: sti: remove bdisp_dbg_declare() and hva_dbg_declare() 2019-01-21 15:41:17 -02:00
hva-h264.c media: platform: fix several typos 2019-03-01 09:35:21 -05:00
hva-hw.c media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
hva-hw.h
hva-mem.c media: st-hva: don't use GFP_DMA 2018-05-25 15:35:41 -04:00
hva-mem.h
hva-v4l2.c media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
hva.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00