sound: oxygen: reset DMA when stream is closed
authorClemens Ladisch <clemens@ladisch.de>
Mon, 25 May 2009 08:05:00 +0000 (10:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2009 09:49:30 +0000 (11:49 +0200)
When a PCM stream is closed, flush the corresponding DMA channel.
Otherwise, the DMA controller would continue to output the last sample
which would result in a DC offset on the output.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found