提交 867f1845 编写于 作者: K Krzysztof Helt 提交者: Takashi Iwai

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: NKrzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 227c4edb
...@@ -93,7 +93,7 @@ static int __devinit snd_card_es968_pnp(int dev, struct snd_card_es968 *acard, ...@@ -93,7 +93,7 @@ static int __devinit snd_card_es968_pnp(int dev, struct snd_card_es968 *acard,
return err; return err;
} }
port[dev] = pnp_port_start(pdev, 0); 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); irq[dev] = pnp_irq(pdev, 0);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册