summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-18 01:01:00 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-18 01:01:00 +0000
commit150340324e48dad467c256328e7141ef4e9939b2 (patch)
treeab246f3f8d3167c77777f2e7b7ec3fa36ef4cd00
parent4f7151d18f0d7df4a30702c6f523064dd185899b (diff)
downloadmediapointer-dvb-s2-150340324e48dad467c256328e7141ef4e9939b2.tar.gz
mediapointer-dvb-s2-150340324e48dad467c256328e7141ef4e9939b2.tar.bz2
Fix a broken logic that didn't cover all standards.
- Fix a broken logic that didn't cover all standards. - Fix compilation failure with gcc 2.95.3. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--linux/drivers/media/video/cx25840/cx25840-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c
index 7a3547beb..86b69cb24 100644
--- a/linux/drivers/media/video/cx25840/cx25840-core.c
+++ b/linux/drivers/media/video/cx25840/cx25840-core.c
@@ -349,7 +349,7 @@ static int set_v4lstd(struct i2c_client *client, v4l2_std_id std)
/* First tests should be against specific std */
if (std & V4L2_STD_NTSC_M_JP) {
fmt=0x2;
- } else if (std & V4L2_STD_NTSC_M_443) {
+ } else if (std & V4L2_STD_NTSC_443) {
fmt=0x3;
} else if (std & V4L2_STD_PAL_M) {
fmt=0x5;