linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Resend] [media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs()
@ 2012-09-26  3:53 Sachin Kamat
  2012-09-26  8:53 ` Sylwester Nawrocki
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2012-09-26  3:53 UTC (permalink / raw)
  To: linux-media; +Cc: s.nawrocki, sachin.kamat, patches

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(-)

diff --git a/drivers/media/platform/s5p-fimc/fimc-lite.c b/drivers/media/platform/s5p-fimc/fimc-lite.c
index 9289008..505200d 100644
--- a/drivers/media/platform/s5p-fimc/fimc-lite.c
+++ b/drivers/media/platform/s5p-fimc/fimc-lite.c
@@ -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;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH Resend] [media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs()
  2012-09-26  3:53 [PATCH Resend] [media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs() Sachin Kamat
@ 2012-09-26  8:53 ` Sylwester Nawrocki
  0 siblings, 0 replies; 2+ messages in thread
From: Sylwester Nawrocki @ 2012-09-26  8:53 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-media, patches

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-26  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26  3:53 [PATCH Resend] [media] s5p-fimc: Fix incorrect condition in fimc_lite_reqbufs() Sachin Kamat
2012-09-26  8:53 ` Sylwester Nawrocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).