diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-01-06 12:26:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-07 08:52:48 -0500 |
commit | 3796554671e6314e1ab368f5f09e302ba1bda538 (patch) | |
tree | 44ab9bce9f285f7cc9fc1beb413b10da14952b6f /drivers/media/dvb | |
parent | efd279ec3e6129195580d40f88ea6c3f5af701b3 (diff) |
[media] dvb-bt8xx: use dprintk for debug statements
This way, the messages will be tagged with KERN_DEBUG and not clutter
the log from dmesg unless the "debug" module parameter is set.
[mchehab@redhat.com: whitespace fixes]
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index d8a36dd84b6e..6a6f7b95a0c0 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -205,7 +205,7 @@ static int cx24108_tuner_set_params(struct dvb_frontend *fe) | |||
205 | 0x00120000,0x00140000}; | 205 | 0x00120000,0x00140000}; |
206 | 206 | ||
207 | #define XTAL 1011100 /* Hz, really 1.0111 MHz and a /10 prescaler */ | 207 | #define XTAL 1011100 /* Hz, really 1.0111 MHz and a /10 prescaler */ |
208 | printk("cx24108 debug: entering SetTunerFreq, freq=%d\n",freq); | 208 | dprintk("cx24108 debug: entering SetTunerFreq, freq=%d\n", freq); |
209 | 209 | ||
210 | /* This is really the bit driving the tuner chip cx24108 */ | 210 | /* This is really the bit driving the tuner chip cx24108 */ |
211 | 211 | ||
@@ -216,7 +216,7 @@ static int cx24108_tuner_set_params(struct dvb_frontend *fe) | |||
216 | 216 | ||
217 | /* decide which VCO to use for the input frequency */ | 217 | /* decide which VCO to use for the input frequency */ |
218 | for(i = 1; (i < ARRAY_SIZE(osci) - 1) && (osci[i] < freq); i++); | 218 | for(i = 1; (i < ARRAY_SIZE(osci) - 1) && (osci[i] < freq); i++); |
219 | printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq); | 219 | dprintk("cx24108 debug: select vco #%d (f=%d)\n", i, freq); |
220 | band=bandsel[i]; | 220 | band=bandsel[i]; |
221 | /* the gain values must be set by SetSymbolrate */ | 221 | /* the gain values must be set by SetSymbolrate */ |
222 | /* compute the pll divider needed, from Conexant data sheet, | 222 | /* compute the pll divider needed, from Conexant data sheet, |
@@ -232,7 +232,7 @@ static int cx24108_tuner_set_params(struct dvb_frontend *fe) | |||
232 | ((a&0x1f)<<11); | 232 | ((a&0x1f)<<11); |
233 | /* everything is shifted left 11 bits to left-align the bits in the | 233 | /* everything is shifted left 11 bits to left-align the bits in the |
234 | 32bit word. Output to the tuner goes MSB-aligned, after all */ | 234 | 32bit word. Output to the tuner goes MSB-aligned, after all */ |
235 | printk("cx24108 debug: pump=%d, n=%d, a=%d\n",pump,n,a); | 235 | dprintk("cx24108 debug: pump=%d, n=%d, a=%d\n", pump, n, a); |
236 | cx24110_pll_write(fe,band); | 236 | cx24110_pll_write(fe,band); |
237 | /* set vga and vca to their widest-band settings, as a precaution. | 237 | /* set vga and vca to their widest-band settings, as a precaution. |
238 | SetSymbolrate might not be called to set this up */ | 238 | SetSymbolrate might not be called to set this up */ |