V4L/DVB (9513): cx18: Reduce number of mmio read retries
authorAndy Walls <awalls@radix.net>
Sun, 2 Nov 2008 21:15:28 +0000 (18:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:00 +0000 (09:38 -0200)
commitf7823f8f437fbbd41155f2312ef17e471199b706
tree245f1a91956f553ce387e6caa10c875b3f4316c4
parentf2e52cd17622eed39576f113b77bbd18c577e308
V4L/DVB (9513): cx18: Reduce number of mmio read retries

cx18: Reduce number of mmio read retries to improve performance.  Experiments
have shown 2 things: read retries never improve the result of a suspect mmio
read from the CX23418 (the result stays all 0xff's), and that most of the
suspected read failures are actually proper reads of values that should be
all 0xff's.  This change reduces the number of read retries and keeps the
count separate from write retries.

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