Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d56e326f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] mb86a20s: don't pollute dmesg with debug messages



There are a few debug tests that are shown with dev_err() or
dev_info(). Replace them by dev_dbg().

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 510e884c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
	}