RE: [PATCH 2/6] dmaengine/dw_dmac: Enable resubmission fromcallback routine.

From: Koul, Vinod
Date: Tue Apr 19 2011 - 02:13:20 EST


On 04/18/2011 04:20 PM, viresh kumar wrote:
>
> Resubmission of new transfer must be allowed from callbacks. For this release
> lock before calling callback routine and enable them again.
Why would you like to do that?

IMO it's not a good thing as you are essentially doing it in your tasklet...
Make sure the submit() is done by client before this and you use it to start
next transaction in you tasklet and let client know in callback txn is
finished.

~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/