mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
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>
This commit is contained in:
parent
227c4edb72
commit
867f1845c5
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user