Commit b6be729a authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

D:2003/09/23 15:17:21
C:CS4236+ driver,PC98(CS423x) driver
A:Takashi Iwai <tiwai@suse.de>
F:isa/cs423x/cs4236.c:1.35->1.36 
F:isa/cs423x/pc98.c:1.4->1.5 
L:fixes by Uros Bizjak <uros@kss-loka.si>:
L:
L:- fixed the wrong DMA channel check in card->longname string
L:  composition.
parent 91df96ce
...@@ -525,7 +525,7 @@ static int __devinit snd_card_cs423x_probe(int dev, struct pnp_card_link *pcard, ...@@ -525,7 +525,7 @@ static int __devinit snd_card_cs423x_probe(int dev, struct pnp_card_link *pcard,
chip->port, chip->port,
irq[dev], irq[dev],
dma1[dev]); dma1[dev]);
if (dma1[dev] >= 0) if (dma2[dev] >= 0)
sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
if ((err = snd_card_register(card)) < 0) { if ((err = snd_card_register(card)) < 0) {
snd_card_free(card); snd_card_free(card);
......
...@@ -400,7 +400,7 @@ static int __init snd_card_pc98_probe(int dev) ...@@ -400,7 +400,7 @@ static int __init snd_card_pc98_probe(int dev)
chip->port, chip->port,
irq[dev], irq[dev],
dma1[dev]); dma1[dev]);
if (dma1[dev] >= 0) if (dma2[dev] >= 0)
sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
if ((err = snd_card_register(card)) < 0) { if ((err = snd_card_register(card)) < 0) {
snd_card_free(card); snd_card_free(card);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment