mirror_ubuntu-kernels/drivers/media/platform
Jammy Huang af6d1bde39 media: aspeed: Update signal status immediately to ensure sane hw state
If res-chg, VE_INTERRUPT_MODE_DETECT_WD irq will be raised. But
v4l2_input_status won't be updated to no-signal immediately until
aspeed_video_get_resolution() in aspeed_video_resolution_work().

During the period of time, aspeed_video_start_frame() could be called
because it doesn't know signal becomes unstable now. If it goes with
aspeed_video_init_regs() of aspeed_video_irq_res_change()
simultaneously, it will mess up hw state.

To fix this problem, v4l2_input_status is updated to no-signal
immediately for VE_INTERRUPT_MODE_DETECT_WD irq.

Fixes: d2b4387f3b ("media: platform: Add Aspeed Video Engine driver")
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:12:05 +00:00
..
allegro-dvt media: allegro: write vui parameters for HEVC 2021-10-20 16:02:03 +01:00
am437x media: am437x: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:48 +02:00
atmel media: atmel: fix the ispck initialization 2021-09-30 10:08:00 +02:00
cadence media: cadence: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:48 +02:00
coda media: coda: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
davinci media: davinci: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
exynos4-is media: exynos4-is: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
exynos-gsc media: exynos-gsc: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
imx-jpeg media: imx-jpeg: Add pm-runtime support for imx-jpeg 2021-10-19 08:08:39 +01:00
marvell-ccic media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
meson/ge2d media: meson: ge2d: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
mtk-jpeg media: mtk-jpeg: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
mtk-mdp media: mdk-mdp: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
mtk-vcodec media: mtk-vcodec: Align width and height to 64 bytes 2021-11-15 08:12:04 +00:00
mtk-vpu media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-09-30 10:07:55 +02:00
omap media: omap_vout: use dma_addr_t consistently 2021-10-08 11:26:13 +02:00
omap3isp media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
qcom media: venus: core: Add sdm660 DT compatible and resource struct 2021-10-21 14:26:19 +01:00
rcar-vin media: rcar-vin: add G/S_PARM ioctls 2021-10-19 08:08:38 +01:00
rockchip media: rockchip: rga: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
s3c-camif media: s3c-camif: Remove unused including <linux/version.h> 2021-09-30 10:07:57 +02:00
s5p-g2d media: s5p-g2d: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
s5p-jpeg media: s5p-jpeg: rename JPEG marker constants to prevent build warnings 2021-09-30 10:08:04 +02:00
s5p-mfc media: s5p-mfc: Use 'bitmap_zalloc()' when applicable 2021-11-15 08:12:02 +00:00
sti media: sti: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
stm32 media: stm32-dma2d: STM32 DMA2D driver 2021-11-15 08:11:33 +00:00
sunxi media: sun6i-csi: Allow the video device to be open multiple times 2021-09-30 10:07:59 +02:00
ti-vpe media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
vsp1 media: vsp1: Add support for the V3U VSPD 2021-10-08 11:26:13 +02:00
xilinx media: xilinx: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:53 +02:00
aspeed-video.c media: aspeed: Update signal status immediately to ensure sane hw state 2021-11-15 08:12:05 +00:00
fsl-viu.c media: use getter/setter functions 2021-03-11 11:59:42 +01:00
imx-pxp.c media: imx-pxp: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: stm32-dma2d: STM32 DMA2D driver 2021-11-15 08:11:33 +00:00
m2m-deinterlace.c media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
Makefile media: stm32-dma2d: STM32 DMA2D driver 2021-11-15 08:11:33 +00:00
mx2_emmaprp.c media: mx2_emmaprp: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
pxa_camera.c media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
rcar_drif.c media: rcar_drif: Make use of the helper function devm_platform_get_and_ioremap_resource() 2021-09-30 10:07:53 +02:00
rcar_fdp1.c media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
rcar_jpu.c media: rcar_jpu: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
rcar-fcp.c media: rcar-fcp: use pm_runtime_resume_and_get() 2021-05-20 16:02:36 +02:00
rcar-isp.c media: rcar-isp: Add Renesas R-Car Image Signal Processor driver 2021-10-08 13:26:43 +02:00
renesas-ceu.c media: renesas-ceu: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
sh_vou.c media: sh_vou: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
via-camera.c media: via-camera: deleted these redundant semicolons 2021-09-30 10:07:53 +02:00
via-camera.h
video-mux.c media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00