projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f0dd17
)
V4L/DVB (7373): logical-bitwise & confusion in se401_init()
author
Roel Kluin
<12o3l@tiscali.nl>
Tue, 22 Apr 2008 17:46:02 +0000
(14:46 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:51 +0000
(14:07 -0300)
logical-bitwise & confusion
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/se401.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/se401.c
b/drivers/media/video/se401.c
index 312a01a1f095be44169ed6302ccbc64c0a0b2c63..f17a539857d45c3238add1e0ec9ab2dfc9b8adf9 100644
(file)
--- a/
drivers/media/video/se401.c
+++ b/
drivers/media/video/se401.c
@@
-1279,7
+1279,7
@@
static int se401_init(struct usb_se401 *se401, int button)
rc=se401_sndctrl(0, se401, SE401_REQ_GET_HEIGHT, 0, cp, sizeof(cp));
se401->cheight=cp[0]+cp[1]*256;
- if (!
cp[2] && SE401_FORMAT_BAYER
) {
+ if (!
(cp[2] & SE401_FORMAT_BAYER)
) {
err("Bayer format not supported!");
return 1;
}