From 150340324e48dad467c256328e7141ef4e9939b2 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 18 Dec 2005 01:01:00 +0000 Subject: 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 --- linux/drivers/media/video/cx25840/cx25840-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3