Re: [PATCH] Remove debug messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.

Thanks,
Manu


Holger Schurig wrote:
# HG changeset patch
# Node ID 01c1e2031e44d8be87082a9ab6a30cc4033acfe8
# Parent  65c96cb81e787b0a7c92d7f5a551535775cdfa5d
Remove debug messages

From:  <holgerschurig@xxxxxx>


This changes some superfluous printk statements that would
overflow the current virtual console.


Signed-off-by:  <holgerschurig@xxxxxx>

diff -r 65c96cb81e78 -r 01c1e2031e44 linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c	Sat Feb 11 08:13:01 2006 -0200
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c	Sat Feb 11 15:28:48 2006 +0100
@@ -199,7 +199,7 @@ static int cx24108_pll_set(struct dvb_fr
 		0x00120000,0x00140000};
#define XTAL 1011100 /* Hz, really 1.0111 MHz and a /10 prescaler */
-	printk("cx24108 debug: entering SetTunerFreq, freq=%d\n",freq);
+	dprintk("cx24108 debug: entering SetTunerFreq, freq=%d\n",freq);
/* This is really the bit driving the tuner chip cx24108 */ @@ -210,7 +210,7 @@ static int cx24108_pll_set(struct dvb_fr /* decide which VCO to use for the input frequency */
 	for(i=1;(i<sizeof(osci)/sizeof(osci[0]))&&(osci[i]<freq);i++);
-	printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq);
+	dprintk("cx24108 debug: select vco #%d (f=%d)\n",i,freq);
 	band=bandsel[i];
 	/* the gain values must be set by SetSymbolrate */
 	/* compute the pll divider needed, from Conexant data sheet,
@@ -226,7 +226,7 @@ static int cx24108_pll_set(struct dvb_fr
 	    ((a&0x1f)<<11);
 	/* everything is shifted left 11 bits to left-align the bits in the
 	   32bit word. Output to the tuner goes MSB-aligned, after all */
-	printk("cx24108 debug: pump=%d, n=%d, a=%d\n",pump,n,a);
+	dprintk("cx24108 debug: pump=%d, n=%d, a=%d\n",pump,n,a);
 	cx24110_pll_write(fe,band);
 	/* set vga and vca to their widest-band settings, as a precaution.
 	   SetSymbolrate might not be called to set this up */



_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux