Nicolin Chen 0b3518652c dmaengine: imx-sdma: Save imx_dma_data into sdmac
The filter() function is currently called by xlate() while it transfers
imx_dma_data as a local variable to the filter() but releases the data
right after returning a DMA channel pointer, which results chan->private
pointing an invalid memory space.

So this patch just stores the imx_dma_data into sdmac to make usre the
private pointer valid as long as the channel exists.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2014-07-25 14:10:24 +05:30
..
2014-02-25 09:44:20 -08:00
2013-01-07 17:36:37 +01:00
2014-07-01 12:15:48 +05:30
2012-09-01 08:57:12 -07:00
2014-01-20 13:53:20 +05:30
2014-07-14 22:29:35 +05:30
2013-12-12 22:43:41 -08:00