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

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2008-04-22 14:45:30 -03:00
Родитель 0f19e65bc5
Коммит 64016330b6
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -2397,9 +2397,10 @@ static void cx88_card_setup(struct cx88_core *core)
xc2028_cfg.tuner = TUNER_XC2028; xc2028_cfg.tuner = TUNER_XC2028;
xc2028_cfg.priv = &ctl; 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); cx88_call_i2c_clients(core, TUNER_SET_CONFIG, &xc2028_cfg);
} }
} }
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */

Просмотреть файл

@ -808,6 +808,8 @@ static int dvb_register(struct cx8802_dev *dev)
dev->dvb.frontend = NULL; dev->dvb.frontend = NULL;
return -1; return -1;
} }
printk(KERN_INFO "%s/2: xc3028 attached\n",
dev->core->name);
} }
/* Ensure all frontends negotiate bus access */ /* Ensure all frontends negotiate bus access */