[ALSA] atiixp - Fix PM resume
authorTakashi Iwai <tiwai@suse.de>
Thu, 1 Sep 2005 09:56:34 +0000 (11:56 +0200)
committerJaroslav Kysela <perex@suse.cz>
Mon, 12 Sep 2005 08:40:24 +0000 (10:40 +0200)
ATIIXP driver
Fixed PM resume on atiixp driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/atiixp.c

index 188df085b7ee5d4ae21903bebd1b6381b48cdc6a..19c7bd08d06db1c1440da6cfedc0d2ac6d2b98ef 100644 (file)
@@ -1453,6 +1453,7 @@ static int snd_atiixp_resume(snd_card_t *card)
                        atiixp_dma_t *dma = &chip->dmas[i];
                        if (dma->substream && dma->suspended) {
                                dma->ops->enable_dma(chip, 1);
+                               dma->substream->ops->prepare(dma->substream);
                                writel((u32)dma->desc_buf.addr | ATI_REG_LINKPTR_EN,
                                       chip->remap_addr + dma->ops->llp_offset);
                                writel(dma->saved_curptr, chip->remap_addr + dma->ops->dt_cur);