svo : fix reqbufs count check
authoryuyeon.oh <yuyeon.oh@samsung.com>
Thu, 16 Jun 2011 13:21:40 +0000 (22:21 +0900)
committeryuyeon.oh <yuyeon.oh@samsung.com>
Thu, 16 Jun 2011 13:21:40 +0000 (22:21 +0900)
Change-Id: I6467a97ed5ea7477cef715e3528a36ca27b9dc8b

drivers/media/video/svo.c

index 5143bf4c03e5cd1cd7176c22639ebea137e0983a..c83ee3e62d8a058c83c315697be84a53b5e9be31 100755 (executable)
@@ -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)