[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:
Hans Verkuil 2014-11-05 05:17:51 -03:00 committed by Mauro Carvalho Chehab
parent 749ae716b2
commit 4895cc47a0
1 changed files with 1 additions and 1 deletions

View File

@ -1175,7 +1175,7 @@ static int vidioc_reqbufs(struct file *file, void *priv,
if (reqbufs->count == 0) { if (reqbufs->count == 0) {
mfc_debug(2, "Freeing buffers\n"); mfc_debug(2, "Freeing buffers\n");
ret = vb2_reqbufs(&ctx->vq_src, reqbufs); 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);
ctx->output_state = QUEUE_FREE; ctx->output_state = QUEUE_FREE;
return ret; return ret;