summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@netup.ru>2009-03-06 22:32:54 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 15:43:11 (GMT)
commit78175bf2c5e4beb0874aee27dcfce58c4c7d4fb4 (patch)
tree7be5161e0d1c027edbc23379d0a1e2c88cee93c7
parentbd894b590ef45297c941b7af0e8de13a2fd306d6 (diff)
downloadlinux-78175bf2c5e4beb0874aee27dcfce58c4c7d4fb4.tar.xz
V4L/DVB (10871): stv0900: delete debug messages not related to stv0900 tuning algorythm
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/stv0900_core.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c
index ca26518..3cc6626 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -59,20 +59,10 @@ static struct stv0900_inode *find_inode(struct i2c_adapter *i2c_adap,
find it by i2c adapter and i2c address */
while ((temp_chip != NULL) &&
((temp_chip->internal->i2c_adap != i2c_adap) ||
- (temp_chip->internal->i2c_addr != i2c_addr))) {
+ (temp_chip->internal->i2c_addr != i2c_addr)))
temp_chip = temp_chip->next_inode;
- dprintk(KERN_INFO "%s: store.adap %x\n", __func__,
- (int)&(*temp_chip->internal->i2c_adap));
- dprintk(KERN_INFO "%s: init.adap %x\n", __func__,
- (int)&(*i2c_adap));
- }
- if (temp_chip != NULL) {/* find by i2c adapter & address */
- dprintk(KERN_INFO "%s: store.adap %x\n", __func__,
- (int)temp_chip->internal->i2c_adap);
- dprintk(KERN_INFO "%s: init.adap %x\n", __func__,
- (int)i2c_adap);
- }
+
}
return temp_chip;
@@ -1492,7 +1482,7 @@ static enum dvbfe_search stv0900_search(struct dvb_frontend *fe,
enum fe_stv0900_error error = STV0900_NO_ERROR;
- dprintk(KERN_INFO "%s: Internal = %x\n", __func__, (u32)i_params);
+ dprintk(KERN_INFO "%s: ", __func__);
p_result.locked = FALSE;
p_search.path = state->demod;
@@ -1607,7 +1597,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status)
{
struct stv0900_state *state = fe->demodulator_priv;
- dprintk("%s: Internal = %x\n", __func__, (unsigned int)state->internal);
+ dprintk("%s: ", __func__);
if ((stv0900_status(state->internal, state->demod)) == TRUE) {
dprintk("DEMOD LOCK OK\n");
@@ -1920,8 +1910,6 @@ struct dvb_frontend *stv0900_attach(const struct stv0900_config *config,
if (err_stv0900)
goto error;
- dprintk(KERN_INFO "%s: Init Result = %d, handle_stv0900 = %x\n",
- __func__, err_stv0900, (unsigned int)state->internal);
break;
default:
goto error;