aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-08-06 05:40:58 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 10:53:49 -0400
commita202a5bfb6c1d7c778f67f28b5f2caac21beafce (patch)
tree203c1d70267ea81f0fa1a317c4a1e3152076ec54 /drivers
parent294d83d7fed1ba5a15b625500b96b3fbf60138ad (diff)
V4L/DVB (4472): Remove debug-print from dib3000mc
Removed and commented a small debug function. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/dib3000mc.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c
index 04ce6276f873..0b4b8220b69d 100644
--- a/drivers/media/dvb/frontends/dib3000mc.c
+++ b/drivers/media/dvb/frontends/dib3000mc.c
@@ -69,29 +69,6 @@ static int dib3000mc_write_word(struct dib3000mc_state *state, u16 reg, u16 val)
69 return i2c_transfer(state->i2c_adap, &msg, 1) != 1 ? -EREMOTEIO : 0; 69 return i2c_transfer(state->i2c_adap, &msg, 1) != 1 ? -EREMOTEIO : 0;
70} 70}
71 71
72static void dump_fep(struct dibx000_ofdm_channel *cd)
73{
74 printk(KERN_DEBUG "DiB3000MC: ");
75 switch (cd->nfft) {
76 case 1: printk("8K "); break;
77 case 2: printk("4K "); break;
78 case 0: printk("2K "); break;
79 default: printk("FFT_UNK "); break;
80 }
81
82 printk("1/%i ", 32 / (1 << cd->guard));
83 switch (cd->nqam) {
84 case 0: printk("QPSK "); break;
85 case 1: printk("16QAM "); break;
86 case 2: printk("64QAM "); break;
87 default: printk("QAM_UNK "); break;
88 }
89 printk("ALPHA %i ", cd->vit_alpha);
90 printk("Code Rate HP %i/%i ", cd->vit_code_rate_hp, cd->vit_code_rate_hp + 1);
91 printk("Code Rate LP %i/%i ", cd->vit_code_rate_lp, cd->vit_code_rate_lp + 1);
92 printk("HRCH %i\n", cd->vit_hrch);
93}
94
95 72
96static int dib3000mc_identify(struct dib3000mc_state *state) 73static int dib3000mc_identify(struct dib3000mc_state *state)
97{ 74{
@@ -729,8 +706,6 @@ static int dib3000mc_set_frontend(struct dvb_frontend* fe,
729 INIT_OFDM_CHANNEL(&ch); 706 INIT_OFDM_CHANNEL(&ch);
730 FEP2DIB(fep,&ch); 707 FEP2DIB(fep,&ch);
731 708
732 dump_fep(&ch);
733
734 state->current_bandwidth = fep->u.ofdm.bandwidth; 709 state->current_bandwidth = fep->u.ofdm.bandwidth;
735 dib3000mc_set_bandwidth(fe, fep->u.ofdm.bandwidth); 710 dib3000mc_set_bandwidth(fe, fep->u.ofdm.bandwidth);
736 711