linux-uconsole/drivers/media/platform
Alexandre Kroupski 57bc41eb34 media: atmel: atmel-isi: fix timeout value for stop streaming
[ Upstream commit 623fd246bb ]

In case of sensor malfunction, stop streaming timeout takes much longer
than expected. This is due to conversion of time to jiffies: milliseconds
multiplied with HZ (ticks/second) gives out a value of jiffies with 10^3
greater. We need to also divide by 10^3 to obtain the right jiffies value.
In other words FRAME_INTERVAL_MILLI_SEC must be in seconds in order to
multiply by HZ and get the right jiffies value to add to the current
jiffies for the timeout expire time.

Fixes: 195ebc43bf ("[media] V4L: at91: add Atmel Image Sensor Interface (ISI) support")
Signed-off-by: Alexandre Kroupski <alexandre.kroupski@ingenico.com>
Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:51:06 +01:00
..
am437x media: am437x-vpfe: Setting STD to current value is not an error 2019-12-31 16:34:50 +01:00
atmel media: atmel: atmel-isi: fix timeout value for stop streaming 2020-01-27 14:51:06 +01:00
cadence media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()' 2020-01-17 19:47:11 +01:00
cec-gpio
coda media: coda: fix memory corruption in case more than 32 instances are opened 2019-12-13 08:51:37 +01:00
cros-ec-cec
davinci media: davinci/vpbe: array underflow in vpbe_enum_outputs() 2020-01-27 14:50:47 +01:00
exynos-gsc
exynos4-is media: exynos4-is: Fix recursive locking in isp_video_release() 2020-01-17 19:47:11 +01:00
marvell-ccic media: marvell-ccic: fix DMA s/g desc number calculation 2019-07-26 09:14:00 +02:00
meson
mtk-jpeg media: mtk-jpeg: Correct return type for mem2mem buffer helpers 2019-04-05 22:33:06 +02:00
mtk-mdp media: mtk-mdp: fix reference count on old device tree 2019-10-05 13:09:41 +02:00
mtk-vcodec media: mtk-vcodec: Release device nodes in mtk_vcodec_init_enc_pm() 2019-02-12 19:47:01 +01:00
mtk-vpu
omap media: omap_vout: potential buffer overflow in vidioc_dqbuf() 2020-01-27 14:50:46 +01:00
omap3isp media: omap3isp: Set device on omap3isp subdevs 2019-10-05 13:09:59 +02:00
qcom media: venus: Fix occasionally failures to suspend 2019-12-31 16:34:54 +01:00
rcar-vin media: rcar-vin: Clean up correct notifier in error path 2020-01-27 14:51:02 +01:00
rockchip/rga media: rockchip/rga: Correct return type for mem2mem buffer helpers 2019-04-05 22:33:05 +02:00
s3c-camif
s5p-cec
s5p-g2d media: s5p-g2d: Correct return type for mem2mem buffer helpers 2019-04-05 22:33:05 +02:00
s5p-jpeg media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL 2020-01-27 14:50:13 +01:00
s5p-mfc media: s5p-mfc: Make additional clocks optional 2019-07-26 09:14:10 +02:00
soc_camera
sti media: bdisp: fix memleak on release 2019-12-17 20:34:58 +01:00
stm32 media: stm32-dcmi: fix check of pm_runtime_get_sync return value 2019-12-05 09:21:34 +01:00
tegra-cec
ti-vpe media: ti-vpe: vpe: fix a v4l2-compliance failure about invalid sizeimage 2019-12-31 16:35:09 +01:00
vicodec media: vicodec: fix out-of-range values when decoding 2019-11-20 18:45:46 +01:00
vimc media: vimc: fix component match compare 2019-12-17 20:35:38 +01:00
vivid media: vivid: fix incorrect assignment operation when setting video mode 2020-01-27 14:50:53 +01:00
vsp1 media: vsp1: Fix YCbCr planar formats pitch calculation 2019-11-20 18:46:52 +01:00
xilinx
fsl-viu.c media: media/platform: fsl-viu.c: fix build for MICROBLAZE 2019-10-05 13:09:38 +02:00
Kconfig media: platform: fix cros-ec-cec build error 2018-09-17 14:32:29 -04:00
m2m-deinterlace.c
Makefile
mx2_emmaprp.c media: mx2_emmaprp: Correct return type for mem2mem buffer helpers 2019-04-05 22:33:06 +02:00
pxa_camera.c media: pxa_camera: Fix check for pdev->dev.of_node 2019-11-24 08:20:12 +01:00
rcar-fcp.c
rcar_drif.c media: rcar_drif: fix a memory disclosure 2019-12-31 16:35:36 +01:00
rcar_fdp1.c media: fdp1: Reduce FCP not found message level to debug 2019-10-05 13:09:41 +02:00
rcar_jpu.c
renesas-ceu.c
sh_veu.c media: sh_veu: Correct return type for mem2mem buffer helpers 2019-04-05 22:33:05 +02:00
sh_vou.c
via-camera.c
via-camera.h
video-mux.c media: video-mux: fix null pointer dereferences 2019-05-31 06:46:29 -07:00
vim2m.c media: vim2m: only cancel work if it is for right context 2019-09-16 08:22:02 +02:00