diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-09-02 08:49:21 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 10:40:55 +0200 |
commit | b73c1c122a097500e1c3dd495045432a1c818b92 (patch) | |
tree | 085863e0688dbf418942abed41fb7909e69d4581 /sound | |
parent | 84010e6f04a59e88e4eb784ff33f2da97ac022f4 (diff) | |
download | kernel_samsung_smdk4412-b73c1c122a097500e1c3dd495045432a1c818b92.zip kernel_samsung_smdk4412-b73c1c122a097500e1c3dd495045432a1c818b92.tar.gz kernel_samsung_smdk4412-b73c1c122a097500e1c3dd495045432a1c818b92.tar.bz2 |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 6694866..e4a9039 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); |