Browse Source

[media] Fix the -E{*} returns in the VBI device as well

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>
Gavin Hurlbut 14 years ago
parent
commit
106d7e376f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/saa7164/saa7164-vbi.c

+ 1 - 1
drivers/media/video/saa7164/saa7164-vbi.c

@@ -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;