diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-03-09 21:19:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-20 12:39:02 -0300 |
commit | 7d5b7b98ae4cbf4c58d143ff7d4516c978e3e555 (patch) | |
tree | f4f31544afe500a2ce10bc0b4e4ad0d7edc806a8 | |
parent | 974a911d2ae310d7082100e9992d1efdf72d86a5 (diff) | |
download | op-kernel-dev-7d5b7b98ae4cbf4c58d143ff7d4516c978e3e555.zip op-kernel-dev-7d5b7b98ae4cbf4c58d143ff7d4516c978e3e555.tar.gz |
V4L/DVB (7362): tvp5150.c: logical-bitwise and confusion
logical-bitwise & confusion
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tvp5150.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 445eba4..d28318c 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c @@ -672,7 +672,7 @@ static int tvp5150_set_vbi(struct i2c_client *c, if (std == V4L2_STD_ALL) { tvp5150_err("VBI can't be configured without knowing number of lines\n"); return 0; - } else if (std && V4L2_STD_625_50) { + } else if (std & V4L2_STD_625_50) { /* Don't follow NTSC Line number convension */ line += 3; } @@ -719,7 +719,7 @@ static int tvp5150_get_vbi(struct i2c_client *c, if (std == V4L2_STD_ALL) { tvp5150_err("VBI can't be configured without knowing number of lines\n"); return 0; - } else if (std && V4L2_STD_625_50) { + } else if (std & V4L2_STD_625_50) { /* Don't follow NTSC Line number convension */ line += 3; } |