]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] cx23885: disable MSI for NetUP cards, otherwise CI is not working
authorIgor M. Liplianin <liplianin@me.by>
Tue, 25 Jan 2011 20:07:00 +0000 (17:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:18 +0000 (20:32 -0300)
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/cx23885/cx23885-reg.h

index d778b1ae921735703dd3d1db857be95e04d6ad18..9933810b4e33a34499261f65e9fc6df883862640 100644 (file)
@@ -1041,6 +1041,10 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
 
        cx23885_dev_checkrevision(dev);
 
+       /* disable MSI for NetUP cards, otherwise CI is not working */
+       if (cx23885_boards[dev->board].ci_type > 0)
+               cx_clear(RDR_RDRCTL1, 1 << 8);
+
        return 0;
 }
 
index a28772db11f0e0da220f85142febbf0d0b235ddb..c87ac682ebbef37d251c3b65967963b5371c4d31 100644 (file)
@@ -292,6 +292,7 @@ Channel manager Data Structure entry = 20 DWORD
 #define RDR_CFG0       0x00050000
 #define RDR_CFG1       0x00050004
 #define RDR_CFG2       0x00050008
+#define RDR_RDRCTL1    0x0005030c
 #define RDR_TLCTL0     0x00050318
 
 /* APB DMAC Current Buffer Pointer */