Skip to content

Commit 72537ec

Browse files
committed
Issue #2 tuning
1 parent f542278 commit 72537ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cxadc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,8 @@ static int cxadc_probe(struct pci_dev *pci_dev,
635635
}
636636

637637
/* set vbi agc */
638-
cx_write(MO_AGC_SYNC_SLICER, 0x0);
638+
/* Set the sample delays to maximum (issue #2) */
639+
cx_write(MO_AGC_SYNC_SLICER, (0xff << 8) || 0xff);
639640

640641
if (level < 0)
641642
level = 0;
@@ -653,6 +654,9 @@ static int cxadc_probe(struct pci_dev *pci_dev,
653654
/* set gain of agc but not offset */
654655
cx_write(MO_AGC_GAIN_ADJ3, (0x28<<16)|(0x28<<8)|(0x50<<0));
655656

657+
/* Disable PLL adjust (stabilizes output when video is detected by chip) */
658+
cx_write(MO_PLL_ADJ_CTRL, cx_read(MO_PLL_ADJ_CTRL) & ~(0x0<<25));
659+
656660
if (audsel != -1) {
657661
/*
658662
* Pixelview PlayTVPro Ultracard specific

0 commit comments

Comments
 (0)