projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84010e6
)
[ALSA] hdsp: always initialize card name
author
Clemens Ladisch
<clemens@ladisch.de>
Fri, 2 Sep 2005 06:49:21 +0000
(08:49 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Mon, 12 Sep 2005 08:40:55 +0000
(10:40 +0200)
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>
sound/pci/rme9652/hdsp.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/rme9652/hdsp.c
b/sound/pci/rme9652/hdsp.c
index 6694866089b5cd8061e088a1c27490d1109bbbe4..e4a9039691202bdc96f7f77647739cfee393aecd 100644
(file)
--- 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);