]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cef546799d4a36c6782bba4ba06397785073d43
tree245f1a91956f553ce387e6caa10c875b3f4316c4
parent3600cc21367d5d74154f5377104c38646808bc97
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