aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/hdsp.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-09-02 02:49:21 -0400
committerJaroslav Kysela <perex@suse.cz>2005-09-12 04:40:55 -0400
commitb73c1c122a097500e1c3dd495045432a1c818b92 (patch)
tree085863e0688dbf418942abed41fb7909e69d4581 /sound/pci/rme9652/hdsp.c
parent84010e6f04a59e88e4eb784ff33f2da97ac022f4 (diff)
[ALSA] hdsp: always initialize card name
RME HDSP driver When using the kernel firmware loader, initialize the card shortname before registering the card with ALSA to prevent it from using a default card ID. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r--sound/pci/rme9652/hdsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index 6694866089b5..e4a903969120 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -4899,6 +4899,7 @@ static int snd_hdsp_create_alsa_devices(snd_card_t *card, hdsp_t *hdsp)
4899 } 4899 }
4900 4900
4901 if (!(hdsp->state & HDSP_InitializationComplete)) { 4901 if (!(hdsp->state & HDSP_InitializationComplete)) {
4902 strcpy(card->shortname, "Hammerfall DSP");
4902 sprintf(card->longname, "%s at 0x%lx, irq %d", hdsp->card_name, 4903 sprintf(card->longname, "%s at 0x%lx, irq %d", hdsp->card_name,
4903 hdsp->port, hdsp->irq); 4904 hdsp->port, hdsp->irq);
4904 4905