projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afc802
)
V4L/DVB (13622): gspca - ov534: Fix a compilation warning.
author
Jean-Francois Moine
<moinejf@free.fr>
Thu, 10 Dec 2009 16:21:59 +0000
(13:21 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 17 Jan 2010 13:31:35 +0000
(11:31 -0200)
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>
drivers/media/video/gspca/ov534.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/ov534.c
b/drivers/media/video/gspca/ov534.c
index 4dbb882c83dcb2c6cb3ebda9536d79a4d908b490..0a6b8f07a69d2898cca1f3fa3ae84ae2da7e1ab4 100644
(file)
--- a/
drivers/media/video/gspca/ov534.c
+++ b/
drivers/media/video/gspca/ov534.c
@@
-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;
-
u
8 val;
+
s
8 val;
val = sd->sharpness;
if (val < 0) { /* auto */