From 829781e8f76b9afb8bf6366962a3c139120a241d Mon Sep 17 00:00:00 2001 From: "yuyeon.oh" Date: Thu, 16 Jun 2011 22:21:40 +0900 Subject: [PATCH] svo : fix reqbufs count check Change-Id: I6467a97ed5ea7477cef715e3528a36ca27b9dc8b --- drivers/media/video/svo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1