From: Hans Verkuil Date: Fri, 20 Feb 2009 10:34:28 +0000 (-0300) Subject: V4L/DVB (10732): zoran: s_jpegcomp should return a proper result, not 0. X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=27f79525738ef626dfd4df5798bfb86ad5d6d98e;p=linux-2.6-omap-h63xx.git V4L/DVB (10732): zoran: s_jpegcomp should return a proper result, not 0. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/zoran/zoran_driver.c b/drivers/media/video/zoran/zoran_driver.c index c6da45b4164..daad93728cf 100644 --- a/drivers/media/video/zoran/zoran_driver.c +++ b/drivers/media/video/zoran/zoran_driver.c @@ -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