diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-25 08:30:44 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-02-01 07:09:26 -0500 |
commit | 1d79716ab07710465fa9fc1ae7328cc6095d2526 (patch) | |
tree | 2d5eae7551acff8a8f31dbfe79a5c3dbeafd55c6 /sound/isa/gus/gusclassic.c | |
parent | 89ac9c256495cbdbe130be5ed192c8911c89ed87 (diff) |
[ALSA] Fix adding second dma channel
Modules: OPL3SA2 driver,GUS Classic driver
dma2 is a global array. sprintf below suggests there was a typo.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/gus/gusclassic.c')
-rw-r--r-- | sound/isa/gus/gusclassic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/gus/gusclassic.c b/sound/isa/gus/gusclassic.c index d1165b96fa3f..91c219116d7a 100644 --- a/sound/isa/gus/gusclassic.c +++ b/sound/isa/gus/gusclassic.c | |||
@@ -195,7 +195,7 @@ static int __init snd_gusclassic_probe(struct platform_device *pdev) | |||
195 | goto _err; | 195 | goto _err; |
196 | } | 196 | } |
197 | sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %d, dma %d", gus->gf1.port, xirq, xdma1); | 197 | sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %d, dma %d", gus->gf1.port, xirq, xdma1); |
198 | if (dma2 >= 0) | 198 | if (xdma2 >= 0) |
199 | sprintf(card->longname + strlen(card->longname), "&%d", xdma2); | 199 | sprintf(card->longname + strlen(card->longname), "&%d", xdma2); |
200 | 200 | ||
201 | snd_card_set_dev(card, &pdev->dev); | 201 | snd_card_set_dev(card, &pdev->dev); |