Skip to content

Commit

Permalink
V4L/DVB (13622): gspca - ov534: Fix a compilation warning.
Browse files Browse the repository at this point in the history
This warning prevented the sharpness setting to work with the ov965x sensor.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 9afc802 commit bc41797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/ov534.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ static void setexposure_96(struct gspca_dev *gspca_dev)
static void setsharpness_96(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
u8 val;
s8 val;

val = sd->sharpness;
if (val < 0) { /* auto */
Expand Down

0 comments on commit bc41797

Please sign in to comment.