aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx88/cx88-core.c9
-rw-r--r--drivers/media/video/cx88/cx88-video.c2
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c
index dca9f3ae5fd..6039a8f57b4 100644
--- a/drivers/media/video/cx88/cx88-core.c
+++ b/drivers/media/video/cx88/cx88-core.c
@@ -929,11 +929,10 @@ int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm)
929 929
930 dprintk(1,"set_tvnorm: MO_INPUT_FORMAT 0x%08x [old=0x%08x]\n", 930 dprintk(1,"set_tvnorm: MO_INPUT_FORMAT 0x%08x [old=0x%08x]\n",
931 cxiformat, cx_read(MO_INPUT_FORMAT) & 0x0f); 931 cxiformat, cx_read(MO_INPUT_FORMAT) & 0x0f);
932 /* Chroma AGC must be disabled if SECAM is used */ 932 /* Chroma AGC must be disabled if SECAM is used, we enable it
933 if (norm & V4L2_STD_SECAM) 933 by default on PAL and NTSC */
934 cx_andor(MO_INPUT_FORMAT, 0x40f, cxiformat); 934 cx_andor(MO_INPUT_FORMAT, 0x40f,
935 else 935 norm & V4L2_STD_SECAM ? cxiformat : cxiformat | 0x400);
936 cx_andor(MO_INPUT_FORMAT, 0xf, cxiformat);
937 936
938 // FIXME: as-is from DScaler 937 // FIXME: as-is from DScaler
939 dprintk(1,"set_tvnorm: MO_OUTPUT_FORMAT 0x%08x [old=0x%08x]\n", 938 dprintk(1,"set_tvnorm: MO_OUTPUT_FORMAT 0x%08x [old=0x%08x]\n",
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 7ec6763f0e7..f9bcb9dc858 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -233,7 +233,7 @@ static struct cx88_ctrl cx8800_ctls[] = {
233 .name = "Chroma AGC", 233 .name = "Chroma AGC",
234 .minimum = 0, 234 .minimum = 0,
235 .maximum = 1, 235 .maximum = 1,
236 .default_value = 0x0, 236 .default_value = 0x1,
237 .type = V4L2_CTRL_TYPE_BOOLEAN, 237 .type = V4L2_CTRL_TYPE_BOOLEAN,
238 }, 238 },
239 .reg = MO_INPUT_FORMAT, 239 .reg = MO_INPUT_FORMAT,