projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddf2835
)
[media] pwc: precedence bug in pwc_init_controls()
author
Dan Carpenter
<error27@gmail.com>
Sat, 23 Jul 2011 18:53:03 +0000
(15:53 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 11 Sep 2011 12:33:35 +0000
(09:33 -0300)
'!' has higher precedence than '&' so we need parenthesis here.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pwc/pwc-v4l.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/pwc/pwc-v4l.c
b/drivers/media/video/pwc/pwc-v4l.c
index
e9a0e94
..
8c70e64
100644
(file)
--- a/
drivers/media/video/pwc/pwc-v4l.c
+++ b/
drivers/media/video/pwc/pwc-v4l.c
@@
-338,7
+338,7
@@
int pwc_init_controls(struct pwc_device *pdev)
if (pdev->restore_factory)
pdev->restore_factory->flags = V4L2_CTRL_FLAG_UPDATE;
- if (!
pdev->features & FEATURE_MOTOR_PANTILT
)
+ if (!
(pdev->features & FEATURE_MOTOR_PANTILT)
)
return hdl->error;
/* Motor pan / tilt / reset */