Commit 79e01e1f authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Tomasz Nowicki
Browse files

CHROMIUM: media: platform: mediatek: isp: Avoid endless-wait



If device_run() has not been executed, mtk_fd_job_wait_finish() will wait
forever.

[  246.636117] INFO: task v4l2-compliance:3699 blocked for more than 122
seconds.
...
[  246.636300] Call trace:
...
[  246.636408]  wait_for_completion+0x24/0x30
[  246.636427]  mtk_fd_vb2_stop_streaming+0x3c/0x110 [mtk_fd]
[  246.636478]  __vb2_queue_cancel+0x38/0x240 [videobuf2_common]
[  246.636489]  vb2_core_streamoff+0x2c/0xb4 [videobuf2_common]
[  246.636501]  vb2_streamoff+0x44/0x68 [videobuf2_v4l2]

BUG=b:183229306, b:195390442, b:341019453
TEST=for a in /dev/video*; do v4l2-compliance -d $a; done
UPSTREAM-TASK=b:368493852

Change-Id: I4f21324b376ed4a62a68e39dd6be1cd21d593a44
Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2778297


Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarBibby Hsieh <bibby.hsieh@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3070113


Tested-by: default avatarHsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: default avatarHsin-Yi Wang <hsinyi@chromium.org>
Commit-Queue: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: default avatarOlivia Wen <olivia.wen@mediatek.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5733722


Tested-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
Commit-Queue: Hsin-Te Yuan <yuanhsinte@chromium.org>
Reviewed-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
Signed-off-by: default avatarTomasz Nowicki <tnowicki@google.com>
parent a505a943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment