summaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2022-04-04 18:35:28 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-24 09:43:22 +0200
commite7326bec7b07d4608894ba726d7a8f5e88565862 (patch)
tree846ca03ffa9220a469f0634b027e3829b3b836c4 /lib/netdev-notifier-error-inject.c
parentmedia: venus: venc: Add support for intra-refresh type (diff)
downloadlinux-e7326bec7b07d4608894ba726d7a8f5e88565862.tar.xz
linux-e7326bec7b07d4608894ba726d7a8f5e88565862.zip
media: coda: disable encoder cmd ioctl on decoder and vice versa
Use v4l2_disable_ioctl() to disable the VIDIOC_TRY_ENCODER_CMD and VIDIOC_ENCODER_CMD ioctls on decoder video devices and the VIDIOC_TRY_DECODER_CMD and VIDIOC_DECODER_CMD ioctls on encoder video devices. This allows to drop the coda_try_encoder/decoder_cmd() functions and to use v4l2_m2m_ioctl_try_encoder/decoder_cmd() directly. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions