summaryrefslogtreecommitdiffstats
path: root/sound/isa/sb
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 /sound/isa/sb
parentMerge branch 'fix/misc' into for-linus (diff)
downloadlinux-867f1845c53f52e6b9822bea387c7b16740ba2f8.tar.xz
linux-867f1845c53f52e6b9822bea387c7b16740ba2f8.zip
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>
Diffstat (limited to 'sound/isa/sb')
-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 cafc3a7316a8..ff18286fef9d 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;