summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2010-04-25 13:12:45 +0200
committerTakashi Iwai <tiwai@suse.de>2010-04-26 09:05:44 +0200
commit867f1845c53f52e6b9822bea387c7b16740ba2f8 (patch)
treea6675c9010822f441f99cb77790306fb24e15dc0
parent227c4edb729790960f5f4991a703a398e925184c (diff)
downloadop-kernel-dev-867f1845c53f52e6b9822bea387c7b16740ba2f8.zip
op-kernel-dev-867f1845c53f52e6b9822bea387c7b16740ba2f8.tar.gz
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>
-rw-r--r--sound/isa/sb/es968.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sb/es968.c b/sound/isa/sb/es968.c
index cafc3a7..ff18286f 100644
--- a/sound/isa/sb/es968.c
+++ b/sound/isa/sb/es968.c
@@ -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;
OpenPOWER on IntegriCloud