From b30489e7b2ad6d5fbb77c6287acf18e7893a3fbf Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Thu, 10 Jul 2003 21:05:10 +0000 Subject: Change the temporal order of the fields for the ALTERNATE mode, ie. wait for an even frame to start with, not an odd frame. This makes applications happy that expect this (ie. tvtime), but don't specify the correct mode instead. We behave now like bttv... --- linux/drivers/media/common/saa7146_hlp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c index 32cc90748..85e0546e7 100644 --- a/linux/drivers/media/common/saa7146_hlp.c +++ b/linux/drivers/media/common/saa7146_hlp.c @@ -969,8 +969,8 @@ static void program_capture_engine(struct saa7146_dev *dev, int planar) } /* wait for o_fid_a/b / e_fid_a/b toggle only if rps register 0 is not set*/ - WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | e_wait); WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | o_wait); + WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | e_wait); /* set rps register 0 */ WRITE_RPS0(CMD_WR_REG | (1 << 8) | (MC2/4)); @@ -994,8 +994,8 @@ static void program_capture_engine(struct saa7146_dev *dev, int planar) /* wait for o_fid_a/b / e_fid_a/b toggle */ if ( vv->last_field == V4L2_FIELD_INTERLACED ) { - WRITE_RPS0(CMD_PAUSE | e_wait); WRITE_RPS0(CMD_PAUSE | o_wait); + WRITE_RPS0(CMD_PAUSE | e_wait); } else if ( vv->last_field == V4L2_FIELD_TOP ) { WRITE_RPS0(CMD_PAUSE | o_wait); } else if ( vv->last_field == V4L2_FIELD_BOTTOM ) { -- cgit v1.2.3