Skip to content

Commit 09e0076

Browse files
committed
[PATCH] Fix Y12I streaming error handling in vi5_capture_dequeue
1 parent 7987d4c commit 09e0076

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nvidia-oot/6.0/0003-Fix-y12i-calibration-stream.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ index 7d07ccd7..c64dcc38 100644
77
vb->vb2_buf.timestamp = descr->status.sof_timestamp;
88

99
- if (frame_err)
10-
+ /* TODO: Remove the branch or process the error for Y12I only */
11-
+ if (false && frame_err)
10+
+ /* TODO: Remove once Y12I streaming fixed */
11+
+ if (frame_err && chan->fmtinfo->fourcc != V4L2_PIX_FMT_Y12I)
1212
buf->vb2_state = VB2_BUF_STATE_ERROR;
1313
else
1414
buf->vb2_state = VB2_BUF_STATE_DONE;

0 commit comments

Comments
 (0)