[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180227222415.GB20901@hector.attlocal.net>
Date: Tue, 27 Feb 2018 16:24:15 -0600
From: Andy Gross <andy.gross@...aro.org>
To: Abhishek Sahu <absahu@...eaurora.org>
Cc: Wolfram Sang <wsa@...-dreams.de>,
David Brown <david.brown@...aro.org>,
Sricharan R <sricharan@...eaurora.org>,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/12] i2c: qup: fixed releasing dma without flush
operation completion
On Sat, Feb 03, 2018 at 01:28:06PM +0530, Abhishek Sahu wrote:
> The QUP BSLP BAM generates the following error sometimes if the
> current I2C DMA transfer fails and the flush operation has been
> scheduled
>
> “bam-dma-engine 7884000.dma: Cannot free busy channel”
>
> If any I2C error comes during BAM DMA transfer, then the QUP I2C
> interrupt will be generated and the flush operation will be
> carried out to make i2c consume all scheduled DMA transfer.
> Currently, the same completion structure is being used for BAM
> transfer which has already completed without reinit. It will make
> flush operation wait_for_completion_timeout completed immediately
> and will proceed for freeing the DMA resources where the
> descriptors are still in process.
>
> Signed-off-by: Abhishek Sahu <absahu@...eaurora.org>
Reviewed-by: Andy Gross <andy.gross@...aro.org>
Powered by blists - more mailing lists