lkml.org 
[lkml]   [2014]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dma: imx-sdma: Save imx_dma_data into sdmac
On Mon, Jun 16, 2014 at 11:32:29AM +0800, Nicolin Chen wrote:
> 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.

Applied, thanks

--
~Vinod



\
 
 \ /
  Last update: 2014-07-25 11:21    [W:0.305 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site