]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ALSA: es968: fix wrong PnP dma index
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Sun, 25 Apr 2010 11:12:45 +0000 (13:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Apr 2010 07:05:44 +0000 (09:05 +0200)
There is only one dma for the ESS ES968 based board.
Its index is 0 and not 1.

This make the es968 card working.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/es968.c

index cafc3a7316a89c4948deaf4d51e7b53fa3cce1c7..ff18286fef9d588c5e34f602506c131733da5bf1 100644 (file)
@@ -93,7 +93,7 @@ static int __devinit snd_card_es968_pnp(int dev, struct snd_card_es968 *acard,
                return err;
        }
        port[dev] = pnp_port_start(pdev, 0);
-       dma8[dev] = pnp_dma(pdev, 1);
+       dma8[dev] = pnp_dma(pdev, 0);
        irq[dev] = pnp_irq(pdev, 0);
 
        return 0;