[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABQgh9FnVWVow1qeM0Cvf8BODgMMP4A9ty4LK8KGzmWPu3iwFA@mail.gmail.com>
Date: Fri, 6 Feb 2015 13:19:17 +0800
From: Zhangfei Gao <zhangfei.gao@...aro.org>
To: Qiao Zhou <zhouqiao@...vell.com>
Cc: "Williams, Dan J" <dan.j.williams@...el.com>,
Vinod Koul <vinod.koul@...el.com>,
"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update
On 5 February 2015 at 20:54, Qiao Zhou <zhouqiao@...vell.com> wrote:
> Below are the refinements.
> 1. Set DMA abort bit when disabling dma channel. This will clear
> the remaining data in dma FIFO, to fix channel-swap issue.
> 2. Read DMA HW pointer when updating DMA status. Previously dma
> position is calculated by adding one period size in dma interrupt.
> This is inaccurate/insufficient for some high-quality audio APP.
> Since interrupt bottom half handler has variable schedule delay,
> it causes big error when calculating sample delay. Read the actual
> HW pointer and feedback can improve the accuracy.
> 3. Do some minor code clean.
>
> Signed-off-by: Qiao Zhou <zhouqiao@...vell.com>
Acked-by: Zhangfei Gao <zhangfei.gao@...aro.org>
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists