aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/es1968.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2011-05-12 16:18:22 -0400
committerTakashi Iwai <tiwai@suse.de>2011-05-13 13:43:24 -0400
commit10ca72014741554ad37c149ff0d9e93c1e3d5b7d (patch)
tree697fc1987e7ac705dbb1fbfc1211e9e3e988d576 /sound/pci/es1968.c
parent3d11ba5593b801b1db85e9680d585713e6039112 (diff)
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>
Diffstat (limited to 'sound/pci/es1968.c')
-rw-r--r--sound/pci/es1968.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index ec7f8371a812..ab0a6156a704 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -2795,6 +2795,8 @@ static int __devinit snd_es1968_create(struct snd_card *card,
2795#ifdef CONFIG_SND_ES1968_RADIO 2795#ifdef CONFIG_SND_ES1968_RADIO
2796 chip->tea.private_data = chip; 2796 chip->tea.private_data = chip;
2797 chip->tea.ops = &snd_es1968_tea_ops; 2797 chip->tea.ops = &snd_es1968_tea_ops;
2798 strlcpy(chip->tea.card, "SF64-PCE2", sizeof(chip->tea.card));
2799 sprintf(chip->tea.bus_info, "PCI:%s", pci_name(pci));
2798 if (!snd_tea575x_init(&chip->tea)) 2800 if (!snd_tea575x_init(&chip->tea))
2799 printk(KERN_INFO "es1968: detected TEA575x radio\n"); 2801 printk(KERN_INFO "es1968: detected TEA575x radio\n");
2800#endif 2802#endif