summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_hlp.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-07-30 17:20:46 +0000
committerMichael Hunold <devnull@localhost>2003-07-30 17:20:46 +0000
commit1ff92b55d10927b3043355b0aec3c5fe681dd42d (patch)
tree07b87a6466dc396a1d66cd148d14d4e7a30fbbaf /linux/drivers/media/common/saa7146_hlp.c
parent2af3ac777e25ac8f616f2f6f2fe56abd4f62cf8e (diff)
downloadmediapointer-dvb-s2-1ff92b55d10927b3043355b0aec3c5fe681dd42d.tar.gz
mediapointer-dvb-s2-1ff92b55d10927b3043355b0aec3c5fe681dd42d.tar.bz2
- FIELD_ALTERNATE capture was broken, add a "wait for vbi" command before
actually waiting for the field change.
Diffstat (limited to 'linux/drivers/media/common/saa7146_hlp.c')
-rw-r--r--linux/drivers/media/common/saa7146_hlp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c
index 85e0546e7..1c60a1bcc 100644
--- a/linux/drivers/media/common/saa7146_hlp.c
+++ b/linux/drivers/media/common/saa7146_hlp.c
@@ -997,8 +997,10 @@ static void program_capture_engine(struct saa7146_dev *dev, int planar)
WRITE_RPS0(CMD_PAUSE | o_wait);
WRITE_RPS0(CMD_PAUSE | e_wait);
} else if ( vv->last_field == V4L2_FIELD_TOP ) {
+ WRITE_RPS0(CMD_PAUSE | vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? MASK_10 : MASK_09);
WRITE_RPS0(CMD_PAUSE | o_wait);
} else if ( vv->last_field == V4L2_FIELD_BOTTOM ) {
+ WRITE_RPS0(CMD_PAUSE | vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? MASK_10 : MASK_09);
WRITE_RPS0(CMD_PAUSE | e_wait);
}