linux/drivers/media/platform
Hans Verkuil 240809ef66 media: vim2m: only cancel work if it is for right context
cancel_delayed_work_sync() was called for any queue, but it should only
be called for the queue that is associated with the currently running job.

Otherwise, if two filehandles are streaming at the same time, then closing the
first will cancel the work which might still be running for a job from the
second filehandle. As a result the second filehandle will never be able to
finish the job and an attempt to stop streaming on that second filehandle will
stall.

Fixes: 52117be68b ("media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work")

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org>      # for v4.20 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-16 11:13:25 -05:00
..
am437x media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
atmel media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
cadence media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
cec-gpio media: cec-gpio: support 5v testing 2018-07-25 07:12:36 -04:00
coda media: coda: fix H.264 deblocking filter controls 2018-12-07 08:19:01 -05:00
cros-ec-cec media: platform: Add ChromeOS EC CEC driver 2018-07-13 08:44:46 +01:00
davinci media: DaVinci-VPBE: fix error handling in vpbe_initialize() 2018-12-03 14:39:43 -05:00
exynos-gsc media: exynos-gsc: replace v4l2_crop by v4l2_selection 2018-11-20 13:46:06 -05:00
exynos4-is media: Use of_node_name_eq for node name comparisons 2018-12-07 08:28:54 -05:00
marvell-ccic media: marvell-ccic: trivial fix to the datasheet URL 2018-12-07 08:25:16 -05:00
meson media: platform: meson-ao-cec: make busy TX warning silent 2018-07-24 17:52:20 -04:00
mtk-jpeg media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mtk-mdp media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mtk-vcodec cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mtk-vpu mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
omap media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
omap3isp media: omap3isp: Unregister media device as first 2018-11-06 07:11:06 -05:00
qcom media: venus: core: Set dma maximum segment size 2018-12-07 08:28:10 -05:00
rcar-vin media: rcar-vin: add R8A77980 support 2018-12-07 08:29:59 -05:00
rockchip/rga media: rockchip/rga: constify video_device structure 2018-11-23 06:07:06 -05:00
s3c-camif media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: s5p-g2d: convert g/s_crop to g/s_selection 2018-11-20 13:53:57 -05:00
s5p-jpeg media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
s5p-mfc media: s5p_mfc_dec.c: convert g_crop to g_selection 2018-11-20 13:47:46 -05:00
seco-cec media: seco-cec: add missing header file to fix build 2018-12-03 15:11:00 -05:00
soc_camera media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
sti media: sti/bdisp: don't pass GFP_DMA32 to dma_alloc_attrs 2018-12-05 05:31:46 -05:00
stm32 media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
sunxi/sun6i-csi media: sun6i: fix spelling mistake "droped" -> "dropped" 2018-12-07 08:19:35 -05:00
tegra-cec media: tegra-cec: reset rx_buf_cnt when start bit detected 2018-03-05 07:46:24 -05:00
ti-vpe media: Use of_node_name_eq for node name comparisons 2018-12-07 08:28:54 -05:00
vicodec Linux 4.20-rc7 2018-12-17 10:34:24 -05:00
vimc media: vimc: fix start stream when link is disabled 2018-12-07 13:08:41 -05:00
vivid Linux 4.20-rc7 2018-12-17 10:34:24 -05:00
vsp1 media: vsp1: Fix LIF buffer thresholds 2018-12-03 14:57:30 -05:00
xilinx media: Use of_node_name_eq for node name comparisons 2018-12-07 08:28:54 -05:00
Kconfig media: platform: Add Aspeed Video Engine driver 2018-12-12 12:05:12 -05:00
Makefile media: platform: Add Aspeed Video Engine driver 2018-12-12 12:05:12 -05:00
aspeed-video.c media: platform: Add Aspeed Video Engine driver 2018-12-12 12:05:12 -05:00
fsl-viu.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
imx-pxp.c media: imx-pxp: remove duplicated include from imx-pxp.c 2018-12-05 05:20:50 -05:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
m2m-deinterlace.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mx2_emmaprp.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
pxa_camera.c media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
rcar_drif.c media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
rcar_fdp1.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar_jpu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
renesas-ceu.c media: renesas-ceu: Use default mbus settings 2018-10-04 16:25:33 -04:00
sh_veu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
sh_vou.c media: doc-rst: Fix broken references 2018-11-23 05:42:49 -05:00
via-camera.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c media: platform: video-mux: Register a subdev notifier 2018-10-04 15:35:08 -04:00
vim2m.c media: vim2m: only cancel work if it is for right context 2019-01-16 11:13:25 -05:00