V4L/DVB (7265): cx88: prints an info when xc2028 is set or is attached
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 Apr 2008 17:45:30 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:45 +0000 (14:07 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/cx88/cx88-dvb.c

index 2429cfe..350c402 100644 (file)
@@ -2397,9 +2397,10 @@ static void cx88_card_setup(struct cx88_core *core)
                xc2028_cfg.tuner = TUNER_XC2028;
                xc2028_cfg.priv  = &ctl;
 
+               info_printk(core, "Asking xc2028/3028 to load firmware %s\n",
+                           ctl.fname);
                cx88_call_i2c_clients(core, TUNER_SET_CONFIG, &xc2028_cfg);
        }
-
 }
 
 /* ------------------------------------------------------------------ */
index ae2a0f5..ef83dab 100644 (file)
@@ -808,6 +808,8 @@ static int dvb_register(struct cx8802_dev *dev)
                        dev->dvb.frontend = NULL;
                        return -1;
                }
+               printk(KERN_INFO "%s/2: xc3028 attached\n",
+                      dev->core->name);
        }
 
        /* Ensure all frontends negotiate bus access */