summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/zoran/zoran_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_driver.c b/linux/drivers/media/video/zoran/zoran_driver.c
index b2e7ce15c..7ddbdf37d 100644
--- a/linux/drivers/media/video/zoran/zoran_driver.c
+++ b/linux/drivers/media/video/zoran/zoran_driver.c
@@ -3120,7 +3120,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