From: Clemens Ladisch Date: Fri, 2 Sep 2005 06:49:21 +0000 (+0200) Subject: [ALSA] hdsp: always initialize card name X-Git-Tag: v2.6.14-rc2~50^2~34 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b73c1c122a097500e1c3dd495045432a1c818b92;p=~emulex%2Finfiniband.git [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 --- diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 6694866089b..e4a90396912 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);