Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-31 Thread Laxman Dewangan
On Sunday 28 October 2012 07:47 PM, Dmitry Osipenko wrote: Fixed channel "lock" after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err "DMA configuration conflict" because tdc->isr_handler still

Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-31 Thread Laxman Dewangan
On Sunday 28 October 2012 07:47 PM, Dmitry Osipenko wrote: Fixed channel "lock" after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err "DMA configuration conflict" because tdc->isr_handler still

Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-31 Thread Laxman Dewangan
On Sunday 28 October 2012 07:47 PM, Dmitry Osipenko wrote: Fixed channel lock after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err DMA configuration conflict because tdc-isr_handler still selected

Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-31 Thread Laxman Dewangan
On Sunday 28 October 2012 07:47 PM, Dmitry Osipenko wrote: Fixed channel lock after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err DMA configuration conflict because tdc-isr_handler still selected

Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-29 Thread Stephen Warren
On 10/28/2012 08:17 AM, Dmitry Osipenko wrote: > Fixed channel "lock" after free. > > Example: Channel 1 was allocated and prepared as slave_sg, used and freed. > Now preparation of cyclic dma on channel 1 will fail with err "DMA > configuration conflict" because tdc->isr_handler still selected

Re: [PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-29 Thread Stephen Warren
On 10/28/2012 08:17 AM, Dmitry Osipenko wrote: Fixed channel lock after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err DMA configuration conflict because tdc-isr_handler still selected to

[PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-28 Thread Dmitry Osipenko
Fixed channel "lock" after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err "DMA configuration conflict" because tdc->isr_handler still selected to handle_once_dma_done. This happens because

[PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-28 Thread Dmitry Osipenko
Fixed channel lock after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err DMA configuration conflict because tdc-isr_handler still selected to handle_once_dma_done. This happens because