[PATCH] gusclassic: fix adding second dma channel

From: Alexey Dobriyan
Date: Tue Jan 24 2006 - 19:24:19 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

sound/isa/gus/gusclassic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/isa/gus/gusclassic.c
+++ b/sound/isa/gus/gusclassic.c
@@ -195,7 +195,7 @@ static int __init snd_gusclassic_probe(s
goto _err;
}
sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %d, dma %d", gus->gf1.port, xirq, xdma1);
- if (dma2 >= 0)
+ if (xdma2 >= 0)
sprintf(card->longname + strlen(card->longname), "&%d", xdma2);

snd_card_set_dev(card, &pdev->dev);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/