linux/drivers/media
Russell King 624fc7f52b V4L/DVB (5700): Saa7111: fix picture settings cache bug
If the SAA7111 device is powered down, and requires re-initialisation when
the V4L device is opened (as on the NetWinder), the SAA7111 driver gets
completely confused about the current settings.

The problem is centred around the way the driver keeps _two_ cached copies
of the current settings - one of the struct video_picture settings, and one
of the registers.

When the decoder is re-initailised, the cached register settings are
overwritten, as are the values in the hardware registers.  However, the
cached video_picture settings are not.

Resolve this by removing the useless and buggy second level of caching for
video_picture.  Instead, provide a function which updates register values
if and only if the value we are going to write to the register has changed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-08 08:21:12 -03:00
..
common V4L/DVB (5702): Fix Kconfig items to avoid linkedition errors 2007-06-08 08:21:12 -03:00
dvb V4L/DVB (5630): Dvb-core: Handle failures to create devices 2007-05-22 16:00:14 -03:00
radio V4L/DVB (5624): Radio-maestro.c cleanup 2007-05-09 10:13:09 -03:00
video V4L/DVB (5700): Saa7111: fix picture settings cache bug 2007-06-08 08:21:12 -03:00
Kconfig Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-05-11 12:57:16 -07:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00