Commit 27f79525 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (10732): zoran: s_jpegcomp should return a proper result, not 0.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2d26698e
...@@ -3119,7 +3119,7 @@ static int zoran_s_jpegcomp(struct file *file, void *__fh, ...@@ -3119,7 +3119,7 @@ static int zoran_s_jpegcomp(struct file *file, void *__fh,
sjpegc_unlock_and_return: sjpegc_unlock_and_return:
mutex_unlock(&zr->resource_lock); mutex_unlock(&zr->resource_lock);
return 0; return res;
} }
static unsigned int static unsigned int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment