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

Commit 9c41d456 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7840): tda18271: make tda18271_set_standby_mode less verbose for basic debug



Only show debug from tda18271_set_standby_mode if DBG_ADV is set.

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent c151c32f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -486,6 +486,7 @@ int tda18271_set_standby_mode(struct dvb_frontend *fe,
	struct tda18271_priv *priv = fe->tuner_priv;
	unsigned char *regs = priv->tda18271_regs;

	if (tda18271_debug & DBG_ADV)
		tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt);

	regs[R_EP3]  &= ~0xe0; /* clear sm, sm_lt, sm_xt */