diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-26 04:52:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-02 13:02:24 -0400 |
commit | f68247fcdc361bc7db2ecb269451247235c21079 (patch) | |
tree | 717cbbf41eada82c907183690a408464c2d50075 /drivers/media/platform/s5p-fimc | |
parent | 970e85f87067638262a5c165aff404e6190817f8 (diff) |
[media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs()
Fixes a typo in a conditional evaluation.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-fimc')
-rw-r--r-- | drivers/media/platform/s5p-fimc/fimc-lite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-lite.c b/drivers/media/platform/s5p-fimc/fimc-lite.c index 5e6c704f1085..70bcf39de879 100644 --- a/drivers/media/platform/s5p-fimc/fimc-lite.c +++ b/drivers/media/platform/s5p-fimc/fimc-lite.c | |||
@@ -829,7 +829,7 @@ static int fimc_lite_reqbufs(struct file *file, void *priv, | |||
829 | 829 | ||
830 | reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); | 830 | reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count); |
831 | ret = vb2_reqbufs(&fimc->vb_queue, reqbufs); | 831 | ret = vb2_reqbufs(&fimc->vb_queue, reqbufs); |
832 | if (!ret < 0) | 832 | if (!ret) |
833 | fimc->reqbufs_count = reqbufs->count; | 833 | fimc->reqbufs_count = reqbufs->count; |
834 | 834 | ||
835 | return ret; | 835 | return ret; |