aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-09-02 08:49:21 +0200
committerJaroslav Kysela <perex@suse.cz>2005-09-12 10:40:55 +0200
commitb73c1c122a097500e1c3dd495045432a1c818b92 (patch)
tree085863e0688dbf418942abed41fb7909e69d4581 /sound
parent[ALSA] ad1889: add AD1889 driver docs (diff)
downloadlinux-dev-b73c1c122a097500e1c3dd495045432a1c818b92.tar.xz
linux-dev-b73c1c122a097500e1c3dd495045432a1c818b92.zip
[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')
-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)
}
if (!(hdsp->state & HDSP_InitializationComplete)) {
+ strcpy(card->shortname, "Hammerfall DSP");
sprintf(card->longname, "%s at 0x%lx, irq %d", hdsp->card_name,
hdsp->port, hdsp->irq);