mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
[media] Fix the negative -E{BLAH} returns from fops_read
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>
This commit is contained in:
parent
f89076c5f1
commit
f20a07d431
1 changed files with 1 additions and 1 deletions
|
|
@ -1165,7 +1165,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue