V4L/DVB (9512): cx18: Fix write retries for registers that always change - part 3.
authorAndy Walls <awalls@radix.net>
Sun, 2 Nov 2008 13:59:04 +0000 (10:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:26 +0000 (17:53 -0200)
commitced07371d931884c9c89b66bfe951ea0148a8d08
tree607a83c66ff40f43bb9ce28839cb5ff9c35736a5
parent48fc6bb37ba8ee278a8cc647a4ef2bf529b519dd
V4L/DVB (9512): cx18: Fix write retries for registers that always change - part 3.

cx18: Fix write retries for registers that always change - part 3.
Fix the io for the rest of the registers that will often not read back the
value just written.  Modified register readback checks to make sure the
intended effect was achieved without constantly rewriting the registers.
The one outstanding register remaining is 0xc72014 CX18_AUDIO_ENABLE, whose
behavior on writes I have yet to determine.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-av-audio.c
drivers/media/video/cx18/cx18-av-core.c
drivers/media/video/cx18/cx18-av-core.h
drivers/media/video/cx18/cx18-av-firmware.c
drivers/media/video/cx18/cx18-firmware.c
drivers/media/video/cx18/cx18-gpio.c
drivers/media/video/cx18/cx18-i2c.c