Commit:     406c8b0ff0891ace87440bcb298a91c1927f9ae5
Parent:     166983cdfbb2779bec98de89927669ed4c9ff8f2
Author:     Ian Armstrong <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 21 08:33:59 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:03:10 2008 -0200

    V4L/DVB (6715): ivtv: Remove unnecessary register update
    To reduce the number of display register accesses, the yuv code keeps track 
    the current video settings. Should there be a change in any single 
    it will update the associated display registers to ensure everything is
    displayed correctly.
    The existing check also looks at the field order for the video. This is not
    required, since field reversal does not require any display register 
    This patch removes the field order from the check.
    Signed-off-by: Ian Armstrong <[EMAIL PROTECTED]>
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 drivers/media/video/ivtv/ivtv-yuv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/ivtv/ivtv-yuv.c 
index 15e9bd2..a23108f 100644
--- a/drivers/media/video/ivtv/ivtv-yuv.c
+++ b/drivers/media/video/ivtv/ivtv-yuv.c
@@ -1021,7 +1021,7 @@ void ivtv_yuv_setup_frame(struct ivtv *itv, struct 
ivtv_dma_frame *args)
        yi->new_frame_info[frame].update = 0;
        yi->new_frame_info[frame].interlaced_y = 0;
        yi->new_frame_info[frame].interlaced_uv = 0;
-       yi->new_frame_info[frame].lace_mode = yi->lace_mode;
+       yi->new_frame_info[frame].lace_mode = yi->lace_mode & 
        if (memcmp(&yi->old_frame_info_args, &yi->new_frame_info[frame],
                                        sizeof(yi->new_frame_info[frame]))) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to