Skip to content

Commit

Permalink
Issue #2 tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
happycube committed Mar 29, 2020
1 parent f542278 commit 72537ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cxadc.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ static int cxadc_probe(struct pci_dev *pci_dev,
}

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

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

/* Disable PLL adjust (stabilizes output when video is detected by chip) */
cx_write(MO_PLL_ADJ_CTRL, cx_read(MO_PLL_ADJ_CTRL) & ~(0x0<<25));

if (audsel != -1) {
/*
* Pixelview PlayTVPro Ultracard specific
Expand Down

0 comments on commit 72537ec

Please sign in to comment.