[ALSA] AMD Au1x00: fix DMA init/cleanup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 21 Mar 2006 10:58:48 +0000 (11:58 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:43:02 +0000 (10:43 +0100)
Modules: MIPS AU1x00 driver

AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying
to set DMA channel to -1 in yet unallocated audio streams. Here's the
patch that staightens up DMA init/cleanup code.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found