summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2009-05-20 09:57:10 +0200
committerPatrick Boettcher <pb@linuxtv.org>2009-05-20 09:57:10 +0200
commit77cae28861d7b7a3542ae1d487c8ac43245811e0 (patch)
treea1c5af1e6da36dba3ac55bb14367d0f3671e595f
parent0afb58412d04348dc6819d5fe8da278c857d37ab (diff)
downloadmediapointer-dvb-s2-77cae28861d7b7a3542ae1d487c8ac43245811e0.tar.gz
mediapointer-dvb-s2-77cae28861d7b7a3542ae1d487c8ac43245811e0.tar.bz2
Reducing print-level of I2C error prints
From: Matthias Schwarzott <zzam@gentoo.org> Reducing the print-levle of I2C error prints cleans some unwanted but unavoidable errors from default syslog-level. Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop-i2c.c2
-rw-r--r--linux/drivers/media/dvb/frontends/mt312.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-i2c.c b/linux/drivers/media/dvb/b2c2/flexcop-i2c.c
index 06a90f67e..df4d6e8d9 100644
--- a/linux/drivers/media/dvb/b2c2/flexcop-i2c.c
+++ b/linux/drivers/media/dvb/b2c2/flexcop-i2c.c
@@ -200,7 +200,7 @@ static int flexcop_master_xfer(struct i2c_adapter *i2c_adap,
msgs[i].buf[0], &msgs[i].buf[1],
msgs[i].len - 1);
if (ret < 0) {
- err("i2c master_xfer failed");
+ deb_i2c("i2c master_xfer failed");
break;
}
}
diff --git a/linux/drivers/media/dvb/frontends/mt312.c b/linux/drivers/media/dvb/frontends/mt312.c
index 5ac9b1592..a621f7279 100644
--- a/linux/drivers/media/dvb/frontends/mt312.c
+++ b/linux/drivers/media/dvb/frontends/mt312.c
@@ -77,7 +77,7 @@ static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg,
ret = i2c_transfer(state->i2c, msg, 2);
if (ret != 2) {
- printk(KERN_ERR "%s: ret == %d\n", __func__, ret);
+ printk(KERN_DEBUG "%s: ret == %d\n", __func__, ret);
return -EREMOTEIO;
}