summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJammy Huang <jammy_huang@aspeedtech.com>2021-11-03 08:23:54 +0000
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-15 08:12:00 +0000
commit62cea52ad4bead0ae4be2cfe1142eb0aae0e9fbd (patch)
tree380bc8605f68b5f350403e0db564559eabdb3368 /tools/perf/scripts/python/export-to-sqlite.py
parent352ff3f3d449554f5259f75d77f65e638ea9d4a1 (diff)
downloadlinux-62cea52ad4bead0ae4be2cfe1142eb0aae0e9fbd.tar.gz
linux-62cea52ad4bead0ae4be2cfe1142eb0aae0e9fbd.zip
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: d2b4387f3bdf ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions