[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190604121616.GX15118@vkoul-mobl>
Date: Tue, 4 Jun 2019 17:46:16 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Laxman Dewangan <ldewangan@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Ben Dooks <ben.dooks@...ethink.co.uk>,
dmaengine@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] dmaengine: tegra-apb: Error out if DMA_PREP_INTERRUPT
flag is unset
On 30-05-19, 00:43, Dmitry Osipenko wrote:
> Apparently driver was never tested with DMA_PREP_INTERRUPT flag being
> unset since it completely disables interrupt handling instead of skipping
> the callbacks invocations, hence putting channel into unusable state.
>
> The flag is always set by all of kernel drivers that use APB DMA, so let's
> error out in otherwise case for consistency. It won't be difficult to
> support that case properly if ever will be needed.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists