Skip to content

Commit

Permalink
ALSA: es968: fix wrong PnP dma index
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Krzysztof-H authored and tiwai committed Apr 26, 2010
1 parent 227c4ed commit 867f184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/isa/sb/es968.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 867f184

Please sign in to comment.