From patchwork Fri Nov 20 23:58:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soeren.Moch@stud.uni-hannover.de X-Patchwork-Id: 61856 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAKNxCvn026917 for ; Fri, 20 Nov 2009 23:59:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753543AbZKTX7E (ORCPT ); Fri, 20 Nov 2009 18:59:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753313AbZKTX7E (ORCPT ); Fri, 20 Nov 2009 18:59:04 -0500 Received: from mx.stud.uni-hannover.de ([130.75.176.3]:36277 "EHLO studserv5d.stud.uni-hannover.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753253AbZKTX7D (ORCPT ); Fri, 20 Nov 2009 18:59:03 -0500 Received: from [10.76.61.203] ([82.113.106.167]) (authenticated bits=0) by studserv5d.stud.uni-hannover.de (8.14.3/8.14.3) with ESMTP id nAKNx2Xo017929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Nov 2009 00:59:05 +0100 (MET) Message-ID: <4B072D3F.8060807@stud.uni-hannover.de> Date: Sat, 21 Nov 2009 00:58:55 +0100 From: Soeren Moch User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: magnus@alefors.se CC: linux-media@vger.kernel.org Subject: Re: SV: [linux-dvb] NOVA-TD exeriences? References: <4AEF5FE5.2000607@stud.uni-hannover.de> <4AF162BC.4010700@stud.uni-hannover.de> <4B0694F7.7070604@stud.uni-hannover.de> <4B06A22D.4090404@stud.uni-hannover.de> In-Reply-To: <4B06A22D.4090404@stud.uni-hannover.de> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org --- linux.orig/drivers/media/dvb/dvb-usb/dib0700_devices.c 2009-11-20 23:39:51.000000000 +0100 +++ linux/drivers/media/dvb/dvb-usb/dib0700_devices.c 2009-11-21 00:47:09.000000000 +0100 @@ -303,6 +303,9 @@ static int stk7700d_frontend_attach(stru adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap,0x80+(adap->id << 1), &stk7700d_dib7000p_mt2266_config[adap->id]); + adap->props.streaming_ctrl = NULL; + dib0700_streaming_ctrl(adap, 1); + return adap->fe == NULL ? -ENODEV : 0; } @@ -1710,12 +1713,20 @@ static int stk7070pd_frontend_attach0(st } adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_config[0]); + + adap->props.streaming_ctrl = NULL; + dib0700_streaming_ctrl(adap, 1); + return adap->fe == NULL ? -ENODEV : 0; } static int stk7070pd_frontend_attach1(struct dvb_usb_adapter *adap) { adap->fe = dvb_attach(dib7000p_attach, &adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_config[1]); + + adap->props.streaming_ctrl = NULL; + dib0700_streaming_ctrl(adap, 1); + return adap->fe == NULL ? -ENODEV : 0; } @@ -1968,7 +1979,7 @@ MODULE_DEVICE_TABLE(usb, dib0700_usb_id_ .streaming_ctrl = dib0700_streaming_ctrl, \ .stream = { \ .type = USB_BULK, \ - .count = 4, \ + .count = 1, \ .endpoint = ep, \ .u = { \ .bulk = { \