mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
solve audio dma transfer error, at pcm prepare set burst to 1
This commit is contained in:
@@ -278,7 +278,8 @@ static int rockchip_pcm_prepare(struct snd_pcm_substream *substream)
|
||||
}
|
||||
DBG("Enter::%s, %d, ret=%d, Channel=%d, Addr=0x%X\n", __FUNCTION__, __LINE__, ret, prtd->params->channel, prtd->params->dma_addr);
|
||||
ret = rk29_dma_config(prtd->params->channel,
|
||||
prtd->params->dma_size, 16);
|
||||
prtd->params->dma_size, 1);
|
||||
prtd->params->flag = 1;
|
||||
|
||||
DBG("Enter:%s, %d, ret = %d, Channel=%d, Size=%d\n",
|
||||
__FUNCTION__, __LINE__, ret, prtd->params->channel,
|
||||
|
||||
Reference in New Issue
Block a user