linux_dsm_epyc7002/drivers/media/test-drivers
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
..
vicodec media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
vimc media: vimc: Make use of V4L2_CAP_IO_MC 2020-05-06 12:10:12 +02:00
vivid media: test_drivers: vivid-core: Use array_size() helper 2020-07-04 12:42:19 +02:00
Kconfig
Makefile
vim2m.c