Patch pctv452e.c: Suppress annoying dmesg-SPAM
Hi,
attached micro-patch removes the text output of an error-message of the PCTV452e-driver. The error messages "I2C error: [.]" do not help any user of the kernel, so whatever causes the error, it does not hamper the function of my TT-3600 USB receiver.
So: Just remove the entries in the dmesg, for it is quite spam-like. Perhaps someone with deeper knowledge could have a look up the background of this message and fix it?
Thanks,
Daniel
(resent as plain-text; sorry)
pctv452e.c renamed from pctv452e.c.orig +2 -2
@@ -446,11 +446,11 @@ static int pctv452e_i2c_msg(struct dvb_ureturn rcv_len; failed: -err ("I2C error %d; %02X %02X %02X %02X %02X -> " +/* err("I2C error %d; %02X %02X %02X %02X %02X -> " "%02X %02X %02X %02X %02X.", ret, SYNC_BYTE_OUT, id, addr << 1, snd_len, rcv_len, buf[0], buf[1], buf[4], buf[5], buf[6]); - +*/ return ret; }
Moikka Daniel,
Quoted 11 lines · Daniel Mayer
Hi,
attached micro-patch removes the text output of an error-message of the PCTV452e-driver. The error messages "I2C error: [.]" do not help any user of the kernel, so whatever causes the error, it does not hamper the function of my TT-3600 USB receiver.
So: Just remove the entries in the dmesg, for it is quite spam-like. Perhaps someone with deeper knowledge could have a look up the background of this message and fix it?
Thanks,
Daniel
Quoted 2 lines
(resent as plain-text; sorry)
That is not proper fix, it just hides it by removing proper error logging.
I debugged real reason earlier:
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/50491
I have got even hardware, but I am totally overloaded so I have to prioritize things. I am happy to see if someone fixes it properly.
regards
Antti
Signature · 1 line
http://palosaari.fi/