[media] mb86a20s: don't pollute dmesg with debug messages
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 12:05:42 +0000 (09:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 19:32:08 +0000 (16:32 -0300)
There are a few debug tests that are shown with dev_err() or
dev_info(). Replace them by dev_dbg().

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c

index f19cd7367040dea00a01b0e01767afea8a83096d..44bfb884ba1106ed1a5e90c1b254127aed82ae24 100644 (file)
@@ -1095,7 +1095,7 @@ static int mb86a20s_get_blk_error(struct dvb_frontend *fe,
        if (rc < 0)
                return rc;
        *error |= rc;
-       dev_err(&state->i2c->dev, "%s: block error for layer %c: %d.\n",
+       dev_dbg(&state->i2c->dev, "%s: block error for layer %c: %d.\n",
                __func__, 'A' + layer, *error);
 
        /* Read Bit Count */
@@ -1386,7 +1386,7 @@ static int mb86a20s_get_main_CNR(struct dvb_frontend *fe)
                return rc;
 
        if (!(rc & 0x40)) {
-               dev_info(&state->i2c->dev, "%s: CNR is not available yet.\n",
+               dev_dbg(&state->i2c->dev, "%s: CNR is not available yet.\n",
                         __func__);
                return -EBUSY;
        }
@@ -1441,7 +1441,7 @@ static int mb86a20s_get_blk_error_layer_CNR(struct dvb_frontend *fe)
 
        /* Check if data is available */
        if (!(rc & 0x01)) {
-               dev_info(&state->i2c->dev,
+               dev_dbg(&state->i2c->dev,
                        "%s: MER measures aren't available yet.\n", __func__);
                return -EBUSY;
        }