From patchwork Mon Oct 26 18:03:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antti Palosaari X-Patchwork-Id: 55951 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 n9QI4ArN011098 for ; Mon, 26 Oct 2009 18:04:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754216AbZJZSDs (ORCPT ); Mon, 26 Oct 2009 14:03:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754291AbZJZSDs (ORCPT ); Mon, 26 Oct 2009 14:03:48 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:52628 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753368AbZJZSDq (ORCPT ); Mon, 26 Oct 2009 14:03:46 -0400 Received: from dyn2-212-50-133-125.psoas.suomi.net ([212.50.133.125] helo=localhost.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1N2Tv4-0003D0-9Z; Mon, 26 Oct 2009 20:03:50 +0200 Message-ID: <4AE5E481.8010805@iki.fi> Date: Mon, 26 Oct 2009 20:03:45 +0200 From: Antti Palosaari User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: Devin Heitmueller CC: Linux Media Mailing List Subject: Re: em28xx DVB modeswitching change: call for testers References: <829197380910132052w155116ecrcea808abe87a57a6@mail.gmail.com> <4AE497B5.8050801@iki.fi> <829197380910260836o4b17a65ex8c46d1db8d6d3027@mail.gmail.com> <4AE5C7F9.6000502@iki.fi> <829197380910260909m42ed776bt56754b882d7ac426@mail.gmail.com> In-Reply-To: <829197380910260909m42ed776bt56754b882d7ac426@mail.gmail.com> X-SA-Exim-Connect-IP: 212.50.133.125 X-SA-Exim-Mail-From: crope@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r 6702a0527680 linux/drivers/media/video/em28xx/em28xx-core.c --- a/linux/drivers/media/video/em28xx/em28xx-core.c Tue Oct 13 23:44:09 2009 -0400 +++ b/linux/drivers/media/video/em28xx/em28xx-core.c Mon Oct 26 19:53:37 2009 +0200 @@ -32,7 +32,7 @@ /* #define ENABLE_DEBUG_ISOC_FRAMES */ -static unsigned int core_debug; +static unsigned int core_debug = -1; module_param(core_debug, int, 0644); MODULE_PARM_DESC(core_debug, "enable debug messages [core]"); @@ -41,7 +41,7 @@ printk(KERN_INFO "%s %s :"fmt, \ dev->name, __func__ , ##arg); } while (0) -static unsigned int reg_debug; +static unsigned int reg_debug = -1; module_param(reg_debug, int, 0644); MODULE_PARM_DESC(reg_debug, "enable debug messages [URB reg]"); @@ -817,6 +817,12 @@ int em28xx_gpio_set(struct em28xx *dev, struct em28xx_reg_seq *gpio) { int rc = 0; + int r01, r5d; + + r01 = em28xx_read_reg(dev, 0x01); + r5d = em28xx_read_reg(dev, 0x5d); + printk(KERN_INFO "%s: r01:0x%x r5d:0x%x\n", __func__, r01, r5d); +// printk(KERN_INFO "Em28xx: Initialized (%s) extension\n", ops->name); if (!gpio) return rc; diff -r 6702a0527680 linux/drivers/media/video/em28xx/em28xx-dvb.c --- a/linux/drivers/media/video/em28xx/em28xx-dvb.c Tue Oct 13 23:44:09 2009 -0400 +++ b/linux/drivers/media/video/em28xx/em28xx-dvb.c Mon Oct 26 19:53:37 2009 +0200 @@ -40,7 +40,7 @@ MODULE_AUTHOR("Mauro Carvalho Chehab "); MODULE_LICENSE("GPL"); -static unsigned int debug; +static unsigned int debug = 1; module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "enable debug messages [dvb]"); @@ -48,7 +48,7 @@ #define dprintk(level, fmt, arg...) do { \ if (debug >= level) \ - printk(KERN_DEBUG "%s/2-dvb: " fmt, dev->name, ## arg); \ + printk(KERN_INFO "%s/2-dvb: " fmt, dev->name, ## arg); \ } while (0) #define EM28XX_DVB_NUM_BUFS 5