From patchwork Tue Mar 29 20:35:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Endriss X-Patchwork-Id: 671922 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 p2TKdePJ002443 for ; Tue, 29 Mar 2011 20:39:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753937Ab1C2Uji (ORCPT ); Tue, 29 Mar 2011 16:39:38 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:43419 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753272Ab1C2Ujh (ORCPT ); Tue, 29 Mar 2011 16:39:37 -0400 Received: (qmail invoked by alias); 29 Mar 2011 20:39:35 -0000 Received: from p50906732.dip.t-dialin.net (HELO charon.escape-edv.de) [80.144.103.50] by mail.gmx.net (mp069) with SMTP; 29 Mar 2011 22:39:35 +0200 X-Authenticated: #476490 X-Provags-ID: V01U2FsdGVkX1/wmUsUUgrwYYZuffdcCHUWN27XY1HSjiP2IYZu3k +7BjGEZCc/Z/P7 Received: from orion.escape-edv.de (192.168.1.10) by charon.escape-edv.de (192.168.1.9) with esmtp ; Tue, 29 Mar 2011 22:36:02 +0200 From: Oliver Endriss Reply-To: linux-media@vger.kernel.org Organization: ESCAPE GmbH EDV-Loesungen To: linux-media@vger.kernel.org Subject: [PATCH] ngene: Fix CI data transfer regression Date: Tue, 29 Mar 2011 22:35:24 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201103292235.25151@orion.escape-edv.de> X-Y-GMX-Trusted: 0 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, 29 Mar 2011 20:39:41 +0000 (UTC) diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index 175a0f6..9630705 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c @@ -1520,6 +1520,7 @@ static int init_channel(struct ngene_channel *chan) if (dev->ci.en && (io & NGENE_IO_TSOUT)) { dvb_ca_en50221_init(adapter, dev->ci.en, 0, 1); set_transfer(chan, 1); + chan->dev->channel[2].DataFormatFlags = DF_SWAP32; set_transfer(&chan->dev->channel[2], 1); dvb_register_device(adapter, &chan->ci_dev, &ngene_dvbdev_ci, (void *) chan,