linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel Mayer" <danielmayer@arcor.de>
To: <crope@iki.fi>
Cc: <linux-media@vger.kernel.org>, <m.chehab@samsung.com>
Subject: WG: Patch pctv452e.c: Suppress annoying dmesg-SPAM
Date: Fri, 30 May 2014 23:16:52 +0200	[thread overview]
Message-ID: <029901cf7c4c$7a4d78d0$6ee86a70$@arcor.de> (raw)
In-Reply-To: 

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

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)

[-- Attachment #2: pctv452e.patch --]
[-- Type: application/octet-stream, Size: 491 bytes --]

--- pctv452e.c.orig	2014-05-30 22:16:28.638949289 +0200
+++ pctv452e.c	2014-05-30 22:16:43.165359598 +0200
@@ -446,11 +446,11 @@ static int pctv452e_i2c_msg(struct dvb_u
 	return 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;
 }
 

             reply	other threads:[~2014-05-30 21:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 21:16 Daniel Mayer [this message]
2014-06-14  0:49 ` WG: Patch pctv452e.c: Suppress annoying dmesg-SPAM Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='029901cf7c4c$7a4d78d0$6ee86a70$@arcor.de' \
    --to=danielmayer@arcor.de \
    --cc=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).