linux/drivers/media
Jammy Huang 62cea52ad4 media: aspeed: fix mode-detect always time out at 2nd run
aspeed_video_get_resolution() will try to do res-detect again if the
timing got in last try is invalid. But it will always time out because
VE_SEQ_CTRL_TRIG_MODE_DET is only cleared after 1st mode-detect.

To fix the problem, just clear VE_SEQ_CTRL_TRIG_MODE_DET before setting
it in aspeed_video_enable_mode_detect().

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>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:12:00 +00:00
..
cec media: CEC: keep related menu entries together 2021-10-05 09:39:32 +02:00
common media: videobuf2: Fix the size printk format 2021-11-15 08:11:31 +00:00
dvb-core Core: 2021-11-02 06:20:58 -07:00
dvb-frontends Merge branch 'akpm' (patches from Andrew) 2021-11-09 10:11:53 -08:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: dw9768: activate runtime PM and turn off device 2021-11-15 08:11:34 +00:00
mc media: Request API is no longer experimental 2021-09-30 10:07:55 +02:00
mmc
pci media: ipu3-cio2: fix error code in cio2_bridge_connect_sensor() 2021-11-15 08:11:34 +00:00
platform media: aspeed: fix mode-detect always time out at 2nd run 2021-11-15 08:12:00 +00:00
radio media: si470x: Avoid card name truncation 2021-09-30 10:08:00 +02:00
rc media: ite-cir: IR receiver stop working after receive overflow 2021-10-19 08:08:39 +01:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-09-30 10:07:40 +02:00
test-drivers media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release() 2021-10-19 08:08:19 +01:00
tuners Linux 5.15-rc4 2021-10-04 07:52:13 +02:00
usb media: gspca/gl860-mi1320/ov9655: avoid -Wstring-concatenation warning 2021-10-19 08:08:38 +01:00
v4l2-core media: v4l2-ctrls: Add RGB color effects control 2021-11-15 08:11:32 +00:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile