From patchwork Fri May 21 14:45:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 101422 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4LEjJGv024407 for ; Fri, 21 May 2010 14:45:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756044Ab0EUOpR (ORCPT ); Fri, 21 May 2010 10:45:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16102 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755793Ab0EUOpQ (ORCPT ); Fri, 21 May 2010 10:45:16 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4LEj8sO004814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 May 2010 10:45:08 -0400 Received: from [10.3.226.6] (vpn-226-6.phx2.redhat.com [10.3.226.6]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4LEj4js029791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 May 2010 10:45:07 -0400 Message-ID: <4BF69C70.5040500@redhat.com> Date: Fri, 21 May 2010 11:45:04 -0300 From: Mauro Carvalho Chehab User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Abylai Ospan CC: Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: Re: [PULL] http://udev.netup.ru/cgi-bin/hgwebdir.cgi/v4l-dvb-aospan-ci_init-fix References: <1243448117.8697.790.camel@alkaloid.netup.ru> <20090601045241.2e27b26a@pedra.chehab.org> <1273649180.15173.2271.camel@alkaloid.netup.ru> In-Reply-To: <1273649180.15173.2271.camel@alkaloid.netup.ru> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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.3 (demeter.kernel.org [140.211.167.41]); Fri, 21 May 2010 14:45:19 +0000 (UTC) diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 939079d..1ed058f 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c @@ -991,6 +991,8 @@ static int dvb_register(struct cx23885_tsport *port) ret = videobuf_dvb_register_bus(&port->frontends, THIS_MODULE, port, &dev->pci->dev, adapter_nr, 0, cx23885_dvb_fe_ioctl_override); + if (!ret) + return ret; /* init CI & MAC */ switch (dev->board) {