From patchwork Tue Jan 25 20:07:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igor M. Liplianin" X-Patchwork-Id: 506841 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0PKoZDB006763 for ; Tue, 25 Jan 2011 20:51:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753899Ab1AYUts (ORCPT ); Tue, 25 Jan 2011 15:49:48 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:55235 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753836Ab1AYUtm (ORCPT ); Tue, 25 Jan 2011 15:49:42 -0500 Received: by mail-ew0-f46.google.com with SMTP id 5so2884034ewy.19 for ; Tue, 25 Jan 2011 12:49:41 -0800 (PST) Received: by 10.14.53.66 with SMTP id f42mr6667081eec.3.1295988581348; Tue, 25 Jan 2011 12:49:41 -0800 (PST) Received: from useri.localnet ([93.125.74.3]) by mx.google.com with ESMTPS id t5sm11419593eeh.20.2011.01.25.12.49.39 (version=SSLv3 cipher=RC4-MD5); Tue, 25 Jan 2011 12:49:40 -0800 (PST) Message-ID: <4d3f3764.857a0e0a.122c.478e@mx.google.com> From: "Igor M. Liplianin" Date: Tue, 25 Jan 2011 22:07:00 +0200 Subject: [PATCH 8/9 v3] cx23885: disable MSI for NetUP cards, otherwise CI is not working To: , , Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 25 Jan 2011 20:51:09 +0000 (UTC) diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index d778b1a..9933810 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c @@ -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; } diff --git a/drivers/media/video/cx23885/cx23885-reg.h b/drivers/media/video/cx23885/cx23885-reg.h index a28772d..c87ac68 100644 --- a/drivers/media/video/cx23885/cx23885-reg.h +++ b/drivers/media/video/cx23885/cx23885-reg.h @@ -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 */