From patchwork Sun May 23 23:08:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 101784 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 o4NN8jex021112 for ; Sun, 23 May 2010 23:08:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755560Ab0EWXIe (ORCPT ); Sun, 23 May 2010 19:08:34 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:52483 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755387Ab0EWXIc (ORCPT ); Sun, 23 May 2010 19:08:32 -0400 Received: by bwz7 with SMTP id 7so719183bwz.19 for ; Sun, 23 May 2010 16:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=y1hT/NfmeM1bFDHkJ+jMZjoV3wbl5ZGUgSm5QHnm5kI=; b=uFE9zaQwNbV6g09eA6wBWamKq6f5fiFrPkIkFvsyGgw93PYdxFxEmgGQrIZmhe5LHT wvs+6gOtuZUESp+Q57/w+z9YKAWI+msydnHSS8IEzjFBOQqZ8hzgB9E3mX0YnjN/v8EE GOQoWpxuDeNv/mxQEA7Xb4ce8IwexlxA2DwLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=EtFR1njq6jiHPc0y9+SDJDIkZv73JtP90fP0QQWq2iYOWdy9C+lycm6jnaML5R2PQk 87AVi3+w+XWEl97o8H7pteRUKLHcjTvzgofSt0u2zDhYkDMzdGUBego9yhLjaHdk/91R /GOhY+SvCivDz2sqML+fNzW8fdjE4/A1+kCkA= Received: by 10.204.22.75 with SMTP id m11mr1860191bkb.51.1274656110578; Sun, 23 May 2010 16:08:30 -0700 (PDT) Received: from [192.168.1.45] (181-162.4-85.cust.bluewin.ch [85.4.162.181]) by mx.google.com with ESMTPS id s17sm16200455bkd.22.2010.05.23.16.08.28 (version=SSLv3 cipher=RC4-MD5); Sun, 23 May 2010 16:08:29 -0700 (PDT) Message-ID: <4BF9B56B.8020903@boichat.ch> Date: Mon, 24 May 2010 01:08:27 +0200 From: Nicolas Boichat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100501 Thunderbird/3.0.4 MIME-Version: 1.0 To: linux-media@vger.kernel.org Subject: Kernel oops with Avermedia Volar DVB-T USB Dongle with >= 2.6.23 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]); Sun, 23 May 2010 23:08:46 +0000 (UTC) diff --git a/drivers/media/dvb/dib0700_devices.c b/drivers/media/dvb/dib0700_devices.c index 34eab05..5c9cef7 100644 --- a/drivers/media/dvb/dib0700_devices.c +++ b/drivers/media/dvb/dib0700_devices.c @@ -2105,7 +2105,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { { NULL }, }, { "AVerMedia AVerTV DVB-T Volar", - {&dib0700_usb_id_table[5],&dib0700_usb_id_table[10] }, + {&dib0700_usb_id_table[5] }, { NULL }, }, { "Compro Videomate U500", @@ -2136,6 +2136,30 @@ struct dvb_usb_device_properties dib0700_devices[] = { .rc_query = dib0700_rc_query }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, + .num_adapters = 1, + .adapter = { + { + .frontend_attach = stk7700p_frontend_attach, + .tuner_attach = stk7700p_tuner_attach, + + DIB0700_DEFAULT_STREAMING_CONFIG(0x02), + }, + }, + + .num_device_descs = 1, + .devices = { + { "AVerMedia AVerTV DVB-T Volar (B808)", + {&dib0700_usb_id_table[10] }, + { NULL }, + } + }, + + .rc_interval = DEFAULT_RC_INTERVAL, + .rc_key_map = dib0700_rc_keys, + .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys), + .rc_query = dib0700_rc_query + }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, + .num_adapters = 2, .adapter = { {