[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200323060713.GC72691@vkoul-mobl>
Date: Mon, 23 Mar 2020 11:37:13 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Baolin Wang <baolin.wang7@...il.com>
Cc: dan.j.williams@...el.com, orsonzhai@...il.com,
zhang.lyra@...il.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: sprd: Set request pending flag when DMA
controller is active
On 12-03-20, 21:26, Baolin Wang wrote:
> From: Zhenfang Wang <zhenfang.wang@...soc.com>
>
> On new Spreadtrum platforms, when the CPU enters idle, it will close
> the DMA controllers' clock to save power if the DMA controller is not
> busy. Moreover the DMA controller's busy signal depends on the DMA
> enable flag and the request pending flag.
>
> When DMA controller starts to transfer data, which means we already
> set the DMA enable flag, but now we should also set the request pending
> flag, in case the DMA clock will be closed accidentally if the CPU
> can not detect the DMA controller's busy signal.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists