summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2014-06-16 05:32:29 +0200
committerVinod Koul <vinod.koul@intel.com>2014-07-25 10:40:24 +0200
commit0b3518652c596b00c1592b5adb2544db75b5ef57 (patch)
tree708e170f3140a93ec2a5fb9721b205b92107edeb /Documentation
parentdmaengine: pl330: Check if the DMA descriptor is NULL (diff)
downloadlinux-0b3518652c596b00c1592b5adb2544db75b5ef57.tar.xz
linux-0b3518652c596b00c1592b5adb2544db75b5ef57.zip
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions