Re: [PATCH V2] dmaengine: qcom_hidma: correct API violation for submit

2017-07-02 Thread Vinod Koul
On Fri, Jun 30, 2017 at 10:43:05AM -0400, Sinan Kaya wrote: > Current code is violating the DMA Engine API by putting the submitted > requests directly into the HW queue. This causes queued transactions > to be started by another thread as soon as the first one finishes. > > The DMA Engine documen

[PATCH V2] dmaengine: qcom_hidma: correct API violation for submit

2017-06-30 Thread Sinan Kaya
Current code is violating the DMA Engine API by putting the submitted requests directly into the HW queue. This causes queued transactions to be started by another thread as soon as the first one finishes. The DMA Engine document clearly states this. "dmaengine_submit() will not start the DMA ope