[media] s5p-mfc: fix sparse error
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Nov 2014 08:17:51 +0000 (05:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 5 Nov 2014 10:29:27 +0000 (08:29 -0200)
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>
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c

index 9391b8ea4682770dcbffdc584e26ee4ed7528664..e7240cb76af95d5129eba4257b39cd60fa57bfa3 100644 (file)
@@ -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;