linux-stable/drivers/staging/media/zoran
Hans Verkuil 2abe6b4589 media: staging: media: zoran: fix various V4L2 compliance errors
[ Upstream commit 914941827a ]

This fixes several issues found with 'v4l2-compliance -s':

1) read()/write() is supported, but not reported in the capabilities
2) S_STD(G_STD()) failed: setting the same standard should just return 0.
3) G_PARM failed to set readbuffers.
4) different field values in the format vs. what v4l2_buffer reported.
5) zero the sequence number when starting streaming.
6) drop VB_USERPTR: makes no sense with dma_contig streaming.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 13:58:41 +02:00
..
Kconfig media: zoran.rst: place it at the right place this time 2020-10-04 17:48:38 +02:00
Makefile media: zoran: remove proc_fs 2020-10-01 09:36:30 +02:00
TODO media: zoran: update TODO 2020-10-01 10:05:55 +02:00
videocodec.c media: zoran: convert all error dprintk to pci_err/pr_err 2020-10-01 09:34:14 +02:00
videocodec.h media: zoran: fix mixed case on vars 2020-10-01 11:27:28 +02:00
zoran.h media: staging: media: zoran: move videodev alloc 2022-04-08 13:58:41 +02:00
zoran_card.c media: staging: media: zoran: fix various V4L2 compliance errors 2022-04-08 13:58:41 +02:00
zoran_card.h media: zoran: convert dprintk debug 2020-10-01 09:35:44 +02:00
zoran_device.c media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com 2022-04-08 13:58:41 +02:00
zoran_device.h media: staging: media: zoran: remove detect_guest_activity 2021-06-02 14:01:53 +02:00
zoran_driver.c media: staging: media: zoran: fix various V4L2 compliance errors 2022-04-08 13:58:41 +02:00
zr36016.c media: staging: media: zoran: fix kzalloc style 2021-06-02 14:03:41 +02:00
zr36016.h media: zoran: fix checkpatch issue 2020-10-01 09:32:50 +02:00
zr36050.c media: staging: media: zoran: change asm header 2021-06-02 14:04:03 +02:00
zr36050.h media: zoran: fix checkpatch issue 2020-10-01 09:32:50 +02:00
zr36057.h media: staging: media: zoran: add spaces around '<<' operator 2021-05-10 11:36:35 +02:00
zr36060.c media: staging: media: zoran: multiple assignments should be avoided 2021-06-02 14:02:45 +02:00
zr36060.h media: zoran: fix mixed case on vars 2020-10-01 11:27:28 +02:00