[Resend,media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs()
Commit Message
Fixes a typo in a conditional evaluation.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/media/platform/s5p-fimc/fimc-lite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Comments
On 09/26/2012 05:53 AM, Sachin Kamat wrote:
> Fixes a typo in a conditional evaluation.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -825,7 +825,7 @@ static int fimc_lite_reqbufs(struct file *file, void *priv,
reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count);
ret = vb2_reqbufs(&fimc->vb_queue, reqbufs);
- if (!ret < 0)
+ if (!ret)
fimc->reqbufs_count = reqbufs->count;
return ret;