From: yuyeon.oh Date: Thu, 16 Jun 2011 13:21:40 +0000 (+0900) Subject: svo : fix reqbufs count check X-Git-Tag: 2.2.1_release^2~182^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=829781e8f76b9afb8bf6366962a3c139120a241d;p=sdk%2Femulator%2Femulator-kernel.git svo : fix reqbufs count check Change-Id: I6467a97ed5ea7477cef715e3528a36ca27b9dc8b --- diff --git a/drivers/media/video/svo.c b/drivers/media/video/svo.c index 5143bf4c03e5..c83ee3e62d8a 100755 --- a/drivers/media/video/svo.c +++ b/drivers/media/video/svo.c @@ -157,7 +157,7 @@ static int svo_reqbufs(struct file *file, void *priv, if (p->type != V4L2_BUF_TYPE_VIDEO_OVERLAY) return -EINVAL; - if (p->count != 1) + if (p->count > 1) return -EINVAL; if (p->memory != V4L2_MEMORY_MMAP)