1
0
Fork 0

ALSA: es968: fix wrong PnP dma index

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>
hifive-unleashed-5.1
Krzysztof Helt 2010-04-25 13:12:45 +02:00 committed by Takashi Iwai
parent 227c4edb72
commit 867f1845c5
1 changed files with 1 additions and 1 deletions

View 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;