summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-06-25 18:37:10 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-26 08:18:55 -0300
commit3e8d8a085ff454527a422aafe9b7dcfa95c09cc5 (patch)
tree68d021716c7566cbab86dad0a0b55d941356bb23 /drivers
parent6475483734d86f88848fcd61db3d4c35123abcba (diff)
downloadlinux-3e8d8a085ff454527a422aafe9b7dcfa95c09cc5.tar.bz2
media: staging: cxd2099: Removed printing in write_block
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/cxd2099/cxd2099.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
index 6426ff1b86ea..3431cf62cbc1 100644
--- a/drivers/staging/media/cxd2099/cxd2099.c
+++ b/drivers/staging/media/cxd2099/cxd2099.c
@@ -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);