[media] Fix the -E{*} returns in the VBI device as well
authorGavin Hurlbut <gjhurlbu@gmail.com>
Thu, 30 Sep 2010 21:21:20 +0000 (18:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:55:30 +0000 (07:55 -0200)
Signed-off-by: Gavin Hurlbut <gjhurlbu@gmail.com>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-vbi.c

index c9b124cdd57e80ae6c3d7a16a25d3a0949a3fb1b..9327848b2693cfd4766b178644489326e8f723f5 100644 (file)
@@ -1112,7 +1112,7 @@ static ssize_t fops_read(struct file *file, char __user *buffer,
        struct saa7164_port *port = fh->port;
        struct saa7164_user_buffer *ubuf = NULL;
        struct saa7164_dev *dev = port->dev;
-       unsigned int ret = 0;
+       int ret = 0;
        int rem, cnt;
        u8 *p;