RE: [RFC PATCH 0/2] dmaengine: at_hdmac: fix locking according to slave DMA requirements

2014-01-31 Thread Jouko Haapaluoma
Hi Thanks for the patches. We got the DMA working for now but the tasklet_disable() and tasklet_enable() had to be removed from atc_control(). If the device driver calls dmaengine_terminate_all() from the callback (like in our previous deadlock example), the tasklet_disable() will cause another

[RFC PATCH 0/2] dmaengine: at_hdmac: fix locking according to slave DMA requirements

2014-01-27 Thread Nicolas Ferre
Hi, This is an attempt to solve the locking issue that we currently have with the Atmel at_hdmac dmaengine driver. I tested these patches with several drivers but may need more coverage before making them permanent... Comments welcome. Nicolas Ferre (2): dmaengine: at_hdmac: remove the call to