summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarco Schluessler <marco@lordzodiac.de>2006-02-24 18:53:00 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-08 12:29:08 -0300
commit05e3beb288183f9176c5fba18fae43d348cc5523 (patch)
tree6604e7ee524f568fab811798769adddddcf86346 /drivers
parentbe6f655d03d2e166134da2ea3c9360c4fe008744 (diff)
downloadop-kernel-dev-05e3beb288183f9176c5fba18fae43d348cc5523.zip
op-kernel-dev-05e3beb288183f9176c5fba18fae43d348cc5523.tar.gz
V4L/DVB (3403): Workaround to fix initialization for Nexus CA
Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/ttpci/av7110_hw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_hw.c b/drivers/media/dvb/ttpci/av7110_hw.c
index b2e63e9..0bb6e74 100644
--- a/drivers/media/dvb/ttpci/av7110_hw.c
+++ b/drivers/media/dvb/ttpci/av7110_hw.c
@@ -245,6 +245,9 @@ int av7110_bootarm(struct av7110 *av7110)
/* test DEBI */
iwdebi(av7110, DEBISWAP, DPRAM_BASE, 0x76543210, 4);
+ /* FIXME: Why does Nexus CA require 2x iwdebi for first init? */
+ iwdebi(av7110, DEBISWAP, DPRAM_BASE, 0x76543210, 4);
+
if ((ret=irdebi(av7110, DEBINOSWAP, DPRAM_BASE, 0, 4)) != 0x10325476) {
printk(KERN_ERR "dvb-ttpci: debi test in av7110_bootarm() failed: "
"%08x != %08x (check your BIOS 'Plug&Play OS' settings)\n",
OpenPOWER on IntegriCloud