mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
V4L/DVB (10732): zoran: s_jpegcomp should return a proper result, not 0.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2d26698e85
commit
27f7952573
@ -3119,7 +3119,7 @@ static int zoran_s_jpegcomp(struct file *file, void *__fh,
|
||||
sjpegc_unlock_and_return:
|
||||
mutex_unlock(&zr->resource_lock);
|
||||
|
||||
return 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
|
Loading…
Reference in New Issue
Block a user