Skip to content

Commit

Permalink
V4L/DVB (10732): zoran: s_jpegcomp should return a proper result, not 0.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 2d26698 commit 27f7952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/zoran/zoran_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27f7952

Please sign in to comment.