2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/media/pci
Ezequiel Garcia cd63c0288f media: sta2x11: Add video_device and vb2_queue locks
Currently, this driver does not serialize its video4linux
ioctls, which is a bug, as race conditions might appear.

In addition, video_device and vb2_queue locks are now both
mandatory. Add them, and implement wait_prepare and
wait_finish.

To stay on the safe side, this commit uses a single mutex
for both locks. Better latency can be obtained by separating
these if needed.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-04 08:00:53 -04:00
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt8xx media: bt8xx: bttv: fix spelling mistake: "culpit" -> "culprit" 2018-06-28 07:51:17 -04:00
cobalt media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cx18 media: cx18: remove redundant zero check on retval 2018-06-28 07:54:03 -04:00
cx88 media: cx88: add error handling for snd_ctl_add 2018-06-28 07:54:27 -04:00
cx23885 media: dvb: fix location of get_dvb_firmware script 2018-06-15 18:10:01 -03:00
cx25821 media: cx25821: remove cx25821-audio-upstream.c and cx25821-video-upstream.c 2018-06-28 07:50:28 -04:00
ddbridge media: ddbridge: conditionally enable fast TS for stv0910-equipped bridges 2018-05-28 17:47:05 -04:00
dm1105 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dt3155 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
intel media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
ivtv treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
mantis media: mantis: prevent staying forever in a loop at IRQ 2018-04-17 05:50:05 -04:00
meye docs: Fix some broken references 2018-06-15 18:10:01 -03:00
netup_unidvb media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ngene media: dvb-frontends/stv0910: make TS speed configurable 2018-05-28 17:46:04 -04:00
pluto2 media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
pt1 treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
pt3 media: Revert cleanup ktime_set() usage 2018-05-09 16:31:06 -04:00
saa7134 treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
saa7146 media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7164 media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
smipcie media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
solo6x10 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
sta2x11 media: sta2x11: Add video_device and vb2_queue locks 2018-07-04 08:00:53 -04:00
ttpci media: dvb: fix location of get_dvb_firmware script 2018-06-15 18:10:01 -03:00
tw68 media: tw68: fix kernel-doc markups 2017-11-30 04:18:56 -05:00
tw686x media: tw686x: Fix incorrect vb2_mem_ops GFP flags 2018-05-28 16:21:41 -04:00
tw5864 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00