Re: [PATCH v2 1/3] dmaengine: add DMA_PREP_CMD for non-Data descriptors.
From: Vinod Koul
Date: Wed Aug 02 2017 - 00:50:38 EST
On Mon, Jul 31, 2017 at 09:35:53AM -0700, Dave Jiang wrote:
> On 07/31/2017 05:34 AM, Vinod Koul wrote:
> > Are you asking for using DMA_PREP_CMD, for that I think should be ok
> > If you asking about adding a new flag with DMA_PREP_CMD, then it would no
> Vinod, I wonder if we should introduce a DMA_PREP_CUSTOM flag and then
> reserve X number of upper flag bits to vendor specified that only they
> care about. That way they can define whatever they want in the upper
> bits if they need it.
Nah, that just leads to abuse :( So lets keep adding the flags generically
as and when we need them..