From: Michael Krufky Date: Fri, 28 Aug 2009 21:52:26 +0000 (-0300) Subject: V4L/DVB (12862): tda18271: add debug to show which standby mode is in use X-Git-Tag: v2.6.32-rc1~618^2~193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72c8364a662b7e995f86931dcb768b77bc44bca5;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git V4L/DVB (12862): tda18271: add debug to show which standby mode is in use Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 64b935f..dece8b6 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c @@ -1019,13 +1019,16 @@ static int tda18271_sleep(struct dvb_frontend *fe) switch (priv->standby_mode) { case TDA18271_STANDBY_POWER_OFF: + tda_dbg("standby mode: power off\n"); ret = tda18271_set_standby_mode(fe, 1, 1, 1); break; case TDA18271_STANDBY_XT_ON: + tda_dbg("standby mode: xtal oscillator on\n"); ret = tda18271_set_standby_mode(fe, 1, 1, 0); break; case TDA18271_STANDBY_LT_XT_ON: default: + tda_dbg("standby mode: loop thru & xtal oscillator on\n"); ret = tda18271_set_standby_mode(fe, 1, 0, 0); }