diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-20 05:34:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:59 -0400 |
commit | 27f79525738ef626dfd4df5798bfb86ad5d6d98e (patch) | |
tree | 6f63fec6cc6bf86a08a91ba0cc56a67bec3982e5 /drivers/media/video/zoran | |
parent | 2d26698e859994d4febb2d27b055bdc37d8e368e (diff) |
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>
Diffstat (limited to 'drivers/media/video/zoran')
-rw-r--r-- | drivers/media/video/zoran/zoran_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran/zoran_driver.c b/drivers/media/video/zoran/zoran_driver.c index c6da45b41643..daad93728cf9 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, | |||
3119 | sjpegc_unlock_and_return: | 3119 | sjpegc_unlock_and_return: |
3120 | mutex_unlock(&zr->resource_lock); | 3120 | mutex_unlock(&zr->resource_lock); |
3121 | 3121 | ||
3122 | return 0; | 3122 | return res; |
3123 | } | 3123 | } |
3124 | 3124 | ||
3125 | static unsigned int | 3125 | static unsigned int |