V4L/DVB (6715): ivtv: Remove unnecessary register update
commit406c8b0ff0891ace87440bcb298a91c1927f9ae5
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sun, 21 Oct 2007 11:33:59 +0000 (21 08:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:10 +0000 (25 19:03 -0200)
treeaf804fbfbc207fd97f66dddfa1c69382a055de79
parent166983cdfbb2779bec98de89927669ed4c9ff8f2
V4L/DVB (6715): ivtv: Remove unnecessary register update

To reduce the number of display register accesses, the yuv code keeps track of
the current video settings. Should there be a change in any single parameter,
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 changes.

This patch removes the field order from the check.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-yuv.c