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:
Hans Verkuil 2009-02-20 07:34:28 -03:00 committed by Mauro Carvalho Chehab
parent 2d26698e85
commit 27f7952573

View File

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