Browse Source

V4L/DVB (7265): cx88: prints an info when xc2028 is set or is attached

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 17 years ago
parent
commit
64016330b6
2 changed files with 4 additions and 1 deletions
  1. 2 1
      drivers/media/video/cx88/cx88-cards.c
  2. 2 0
      drivers/media/video/cx88/cx88-dvb.c

+ 2 - 1
drivers/media/video/cx88/cx88-cards.c

@@ -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);
 	}
-
 }
 
 /* ------------------------------------------------------------------ */

+ 2 - 0
drivers/media/video/cx88/cx88-dvb.c

@@ -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 */