ALSA: tea575x: use better card and bus names
Provide real card and bus_info instead of hardcoded values. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
3d11ba5593
commit
10ca720147
@@ -2795,6 +2795,8 @@ static int __devinit snd_es1968_create(struct snd_card *card,
|
||||
#ifdef CONFIG_SND_ES1968_RADIO
|
||||
chip->tea.private_data = chip;
|
||||
chip->tea.ops = &snd_es1968_tea_ops;
|
||||
strlcpy(chip->tea.card, "SF64-PCE2", sizeof(chip->tea.card));
|
||||
sprintf(chip->tea.bus_info, "PCI:%s", pci_name(pci));
|
||||
if (!snd_tea575x_init(&chip->tea))
|
||||
printk(KERN_INFO "es1968: detected TEA575x radio\n");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user