aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/se401.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2008-04-22 13:46:02 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:51 -0400
commit33b4af918a1ad73db47efec3cd23184d58f6ab31 (patch)
treecf8fbdb718c908fff4e2e11462cde52361a0e0bd /drivers/media/video/se401.c
parent7f0dd17913eda77961fc8213b64cb8af4a155d3e (diff)
V4L/DVB (7373): logical-bitwise & confusion in se401_init()
logical-bitwise & confusion Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/se401.c')
-rw-r--r--drivers/media/video/se401.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/se401.c b/drivers/media/video/se401.c
index 312a01a1f095..f17a539857d4 100644
--- 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)
1279 rc=se401_sndctrl(0, se401, SE401_REQ_GET_HEIGHT, 0, cp, sizeof(cp)); 1279 rc=se401_sndctrl(0, se401, SE401_REQ_GET_HEIGHT, 0, cp, sizeof(cp));
1280 se401->cheight=cp[0]+cp[1]*256; 1280 se401->cheight=cp[0]+cp[1]*256;
1281 1281
1282 if (!cp[2] && SE401_FORMAT_BAYER) { 1282 if (!(cp[2] & SE401_FORMAT_BAYER)) {
1283 err("Bayer format not supported!"); 1283 err("Bayer format not supported!");
1284 return 1; 1284 return 1;
1285 } 1285 }