linux/drivers/staging
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
..
android mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
axis-fifo
board
clocking-wizard
comedi mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
emxx_udc
fbtft staging: fbtft: fb_st7789v: make HSD20_IPS numeric and not a string 2020-05-22 10:48:32 +02:00
fieldbus
fsl-dpaa2 Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
fwserial
gasket Merge 5.7-rc5 into staging-next 2020-05-11 08:57:22 +02:00
gdm724x
goldfish
greybus treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
gs_fpgaboot
iio Merge 5.7-rc7 into staging-next 2020-05-25 09:11:19 +02:00
kpc2000 mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
ks7010 staging: ks7010: remove me from CC list 2020-05-05 12:36:04 +02:00
media media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
most treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mt7621-dma
mt7621-dts
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433 staging: pi433: fix error return code in pi433_probe() 2020-05-05 12:31:18 +02:00
qlge staging: qlge: unmap dma when lock failed 2020-05-19 16:15:39 +02:00
ralink-gdma
rtl8188eu staging: rtl8188eu: make some arrays static const 2020-05-27 10:16:34 +02:00
rtl8192e staging/rtl8192e: Remove function callback casts 2020-05-27 10:16:34 +02:00
rtl8192u staging: rtl8192u: Merge almost duplicate code 2020-05-19 17:08:50 +02:00
rtl8712 staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 2020-05-27 10:16:33 +02:00
rtl8723bs Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
rts5208
sm750fb staging: sm750fb: Add names to proc_setBLANK args 2020-05-29 12:35:59 +02:00
speakup
unisys
vc04_services staging: vchiq: Get rid of VCHIQ_SERVICE_OPENEND callback reason 2020-05-27 14:04:32 +02:00
vme
vt6655 staging: vt6656: vt6655: removing unused macros definition Makefiles 2020-05-15 15:49:13 +02:00
vt6656 staging: vt6656: Fix warning: unused variable vnt_frame_time 2020-05-27 12:23:11 +02:00
wfx staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm() 2020-05-27 10:18:09 +02:00
wilc1000 Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
wlan-ng
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile