Re: [PATCH] dmaengine: pl330: Correct device assignment.

From: Vinod Koul
Date: Thu Nov 06 2014 - 07:58:20 EST


On Thu, Nov 06, 2014 at 11:39:47AM +0000, Andrew Jackson wrote:
> Commit f6f2421c0a1c removed pl330_info structure by embedding it into
> pl330_dmac structure, but did not ensure that the dmac->ddma.dev
> pointer gets initialised before use. When dma_alloc_coherent() gets
> called on arm64 a WARN() gets triggered due to dev being NULL.

Applied, thanks

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/