diff options
author | Lee Revell <rlrevell@joe-job.com> | 2005-03-30 11:51:18 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 07:00:41 (GMT) |
commit | 2b637da5a1bb3c128ecdadea6aee693f6ff3b786 (patch) | |
tree | 636819c212a13118758a8c19db9905a55b20ef9e /sound/pci/emu10k1/emuproc.c | |
parent | 51f633dada113ef724a145bb5b33ec77d1b092f6 (diff) | |
download | linux-2b637da5a1bb3c128ecdadea6aee693f6ff3b786.tar.xz |
[ALSA] clean up card features
EMU10K1/EMU10K2 driver
This patch converts the emu10k1 driver to use the card capabilities
structure for some more things.
Not extensively tested but seems to work.
Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emuproc.c')
-rw-r--r-- | sound/pci/emu10k1/emuproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c index d990d5e..732d17d 100644 --- a/sound/pci/emu10k1/emuproc.c +++ b/sound/pci/emu10k1/emuproc.c @@ -182,7 +182,7 @@ static void snd_emu10k1_proc_read(snd_info_entry_t *entry, snd_iprintf(buffer, "EMU10K1\n\n"); snd_iprintf(buffer, "Card : %s\n", - emu->audigy ? "Audigy" : (emu->APS ? "EMU APS" : "Creative")); + emu->audigy ? "Audigy" : (emu->card_capabilities->ecard ? "EMU APS" : "Creative")); snd_iprintf(buffer, "Internal TRAM (words) : 0x%x\n", emu->fx8010.itram_size); snd_iprintf(buffer, "External TRAM (words) : 0x%x\n", (int)emu->fx8010.etram_pages.bytes / 2); snd_iprintf(buffer, "\n"); |