V4L/DVB (12862): tda18271: add debug to show which standby mode is in use
authorMichael Krufky <mkrufky@kernellabs.com>
Fri, 28 Aug 2009 21:52:26 +0000 (18:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:13:40 +0000 (00:13 -0300)
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18271-fe.c

index 64b935f91577877251db6a279a1416a352380cc8..dece8b67b99326d66f6699bcfffb705688afcf55 100644 (file)
@@ -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);
        }