This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: staging: cxd2099: Removed useless printing in cxd2099 driver
Author:  Ralph Metzler <r...@metzlerbros.de>
Date:    Sun Jun 25 18:37:09 2017 -0300

campoll and read_data are called very often and the printouts are very
annoying and make the driver unusable. They seem to be left over from
developing the buffer mode.

Original code change by Ralph Metzler, modified by Jasmin Jessich to
match current Kernel code.

Signed-off-by: Ralph Metzler <r...@metzlerbros.de>
Signed-off-by: Jasmin Jessich <jas...@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/staging/media/cxd2099/cxd2099.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

---

diff --git a/drivers/staging/media/cxd2099/cxd2099.c 
b/drivers/staging/media/cxd2099/cxd2099.c
index 60d8dd03e7ff..6426ff1b86ea 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -568,14 +568,10 @@ static int campoll(struct cxd *ci)
                return 0;
        write_reg(ci, 0x05, istat);
 
-       if (istat & 0x40) {
+       if (istat & 0x40)
                ci->dr = 1;
-               dev_info(&ci->i2c->dev, "DR\n");
-       }
-       if (istat & 0x20) {
+       if (istat & 0x20)
                ci->write_busy = 0;
-               dev_info(&ci->i2c->dev, "WC\n");
-       }
 
        if (istat & 2) {
                u8 slotstat;
@@ -628,7 +624,6 @@ static int read_data(struct dvb_ca_en50221 *ca, int slot, 
u8 *ebuf, int ecount)
        campoll(ci);
        mutex_unlock(&ci->lock);
 
-       dev_info(&ci->i2c->dev, "%s\n", __func__);
        if (!ci->dr)
                return 0;
 

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to