summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-20 11:34:28 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-02-20 11:34:28 +0100
commitd3f2882c7b2e1bdf197ad60cfaf4732858d0e708 (patch)
tree2295511725879412b084e9de541074c96ea2953b /linux/drivers/media/video/zoran
parent92b6b4bed8a77876fa7889ee8bcc86798ccc3762 (diff)
downloadmediapointer-dvb-s2-d3f2882c7b2e1bdf197ad60cfaf4732858d0e708.tar.gz
mediapointer-dvb-s2-d3f2882c7b2e1bdf197ad60cfaf4732858d0e708.tar.bz2
zoran: s_jpegcomp should return a proper result, not 0.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/zoran')
-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