mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 16:53:20 -04:00
media: amphion: Remove obsolete frame_count check in venc_start_session
The dev_err() log warning about no input when starting was originally meaningful when min_queued_buffers was set, as it indicated an abnormal condition. However, since commit5633ec763a("media: amphion: Drop min_queued_buffers assignment") removed the min_queued_buffers assignment, having frame_count == 0 at start is a normal condition. Remove this misleading log that no longer serves any purpose. Fixes:5633ec763a("media: amphion: Drop min_queued_buffers assignment") Cc: stable@vger.kernel.org Signed-off-by: Ming Qian <ming.qian@oss.nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
@@ -973,8 +973,6 @@ static int venc_start_session(struct vpu_inst *inst, u32 type)
|
||||
venc->ready_count = 0;
|
||||
venc->stopped = false;
|
||||
vpu_process_output_buffer(inst);
|
||||
if (venc->frame_count == 0)
|
||||
dev_err(inst->dev, "[%d] there is no input when starting\n", inst->id);
|
||||
|
||||
return 0;
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user