diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-11-05 03:17:51 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-05 05:29:27 -0500 |
commit | 4895cc47a072dcb32d3300d0a46a251a8c6db5f1 (patch) | |
tree | b4a2587e15b0e3ac454ae6bc802ac4a51fc62901 | |
parent | 749ae716b2d40c71e1ea74f8bbc6b9fa22e90d34 (diff) |
[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>
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c index 9391b8ea4682..e7240cb76af9 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | |||
@@ -1175,7 +1175,7 @@ static int vidioc_reqbufs(struct file *file, void *priv, | |||
1175 | if (reqbufs->count == 0) { | 1175 | if (reqbufs->count == 0) { |
1176 | mfc_debug(2, "Freeing buffers\n"); | 1176 | mfc_debug(2, "Freeing buffers\n"); |
1177 | ret = vb2_reqbufs(&ctx->vq_src, reqbufs); | 1177 | ret = vb2_reqbufs(&ctx->vq_src, reqbufs); |
1178 | s5p_mfc_hw_call(dev->mfc_ops, release_codec_buffers, | 1178 | s5p_mfc_hw_call_void(dev->mfc_ops, release_codec_buffers, |
1179 | ctx); | 1179 | ctx); |
1180 | ctx->output_state = QUEUE_FREE; | 1180 | ctx->output_state = QUEUE_FREE; |
1181 | return ret; | 1181 | return ret; |