media: staging: cxd2099: Removed printing in write_block
authorJasmin Jessich <jasmin@anw.at>
Sun, 25 Jun 2017 21:37:10 +0000 (18:37 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Jun 2017 11:18:55 +0000 (08:18 -0300)
There were remaining debug prints which haven't been found earlier
due to the disabled buffer mode. See commit 5abe108bdb67
("media: staging: cxd2099: Removed useless printing in cxd2099 driver")
for the already removed printings.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cxd2099/cxd2099.c

index 6426ff1b86ea2a92a3fcd04e55a80b9d733a35c2..3431cf62cbc10e62c208af21da0d1a19504d91eb 100644 (file)
@@ -230,7 +230,6 @@ static int write_block(struct cxd *ci, u8 adr, u8 *data, u16 n)
                status = i2c_write_reg(ci->i2c, ci->cfg.adr, 0, adr);
        if (status)
                return status;
-       dev_info(&ci->i2c->dev, "write_block %d\n", n);
 
        ci->lastaddress = adr;
        buf[0] = 1;
@@ -239,7 +238,6 @@ static int write_block(struct cxd *ci, u8 adr, u8 *data, u16 n)
 
                if (ci->cfg.max_i2c && (len + 1 > ci->cfg.max_i2c))
                        len = ci->cfg.max_i2c - 1;
-               dev_info(&ci->i2c->dev, "write %d\n", len);
                memcpy(buf + 1, data, len);
                status = i2c_write(ci->i2c, ci->cfg.adr, buf, len + 1);
                if (status)
@@ -652,7 +650,6 @@ static int write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
        if (ci->write_busy)
                return -EAGAIN;
        mutex_lock(&ci->lock);
-       dev_info(&ci->i2c->dev, "%s %d\n", __func__, ecount);
        write_reg(ci, 0x0d, ecount >> 8);
        write_reg(ci, 0x0e, ecount & 0xff);
        write_block(ci, 0x11, ebuf, ecount);