original_kernel/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
atmel
cadence
cec-gpio
coda
cros-ec-cec
davinci
exynos-gsc
exynos4-is
marvell-ccic
meson
mtk-jpeg
mtk-mdp
mtk-vcodec
mtk-vpu
omap
omap3isp
qcom
rcar-vin
rockchip/rga
s3c-camif
s5p-cec
s5p-g2d
s5p-jpeg
s5p-mfc
seco-cec
soc_camera
sti
stm32
sunxi/sun6i-csi
tegra-cec
ti-vpe
vicodec
vimc
vivid
vsp1
xilinx
Kconfig
Makefile
aspeed-video.c
fsl-viu.c
imx-pxp.c
imx-pxp.h
m2m-deinterlace.c
mx2_emmaprp.c
pxa_camera.c
rcar-fcp.c
rcar_drif.c
rcar_fdp1.c
rcar_jpu.c
renesas-ceu.c
sh_veu.c
sh_vou.c
via-camera.c
via-camera.h
video-mux.c
vim2m.c