提交 8e3d759d 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] atiixp - Fix PM resume

ATIIXP driver
Fixed PM resume on atiixp driver.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 12bb5b78
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册