Skip to content

Commit 73af7d1

Browse files
committed
Fix: incorrect st40p tx pipeline zero-size guard
Fix failing TX submissions whenever the ancillary framebuffer still reported data_size == 0, even though the actual payload length already lives in frame_info->udw_buffer_fill. Drop that guard. Fixes: dd61100
1 parent 307c69f commit 73af7d1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/src/st2110/experimental/st40_pipeline_tx.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,6 @@ int st40p_tx_put_frame(st40p_tx_handle handle, struct st40_frame_info* frame_inf
428428
return -EIO;
429429
}
430430

431-
if (!framebuff->anc_frame->data_size && frame_info->meta_num)
432-
framebuff->anc_frame->data_size = frame_info->udw_buffer_fill;
433-
434-
if (!framebuff->anc_frame->data_size) {
435-
err("%s(%d), frame %u data size is 0\n", __func__, idx, producer_idx);
436-
return -EIO;
437-
}
438431

439432
framebuff->anc_frame->meta_num = frame_info->meta_num;
440433
framebuff->anc_frame->data_size = frame_info->udw_buffer_fill;

0 commit comments

Comments
 (0)