[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140725083658.GJ8181@intel.com>
Date: Fri, 25 Jul 2014 14:06:58 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Nicolin Chen <nicoleotsuka@...il.com>
Cc: s.hauer@...gutronix.de, dan.j.williams@...el.com,
linux-kernel@...r.kernel.org, dmaengine@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists