diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2014-06-16 11:32:29 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 08:58:16 -0500 |
commit | cfeaed51d35d7840c7d95b19f6a09f9348fe5730 (patch) | |
tree | 2477fc505079ce156a1bf705069b11cb7bf6d925 /arch | |
parent | 5c1d37289ce0fb0c95a0da5b921c03b0d33be53b (diff) |
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>
(cherry picked from commit 0b3518652c596b00c1592b5adb2544db75b5ef57)
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions