mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
[media] s5p-mfc: fix sparse error
s5p_mfc_enc.c:1178:25: error: incompatible types in conditional expression (different base types) Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
749ae716b2
commit
4895cc47a0
@ -1175,7 +1175,7 @@ static int vidioc_reqbufs(struct file *file, void *priv,
|
||||
if (reqbufs->count == 0) {
|
||||
mfc_debug(2, "Freeing buffers\n");
|
||||
ret = vb2_reqbufs(&ctx->vq_src, reqbufs);
|
||||
s5p_mfc_hw_call(dev->mfc_ops, release_codec_buffers,
|
||||
s5p_mfc_hw_call_void(dev->mfc_ops, release_codec_buffers,
|
||||
ctx);
|
||||
ctx->output_state = QUEUE_FREE;
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user