[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160305030733.GQ55664@google.com>
Date: Fri, 4 Mar 2016 19:07:33 -0800
From: Brian Norris <computersforpeace@...il.com>
To: Robert Jarzmik <robert.jarzmik@...e.fr>
Cc: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
David Woodhouse <dwmw2@...radead.org>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: nand: pxa3xx_nand: fix dmaengine initialization
On Fri, Feb 12, 2016 at 11:29:04PM +0100, Robert Jarzmik wrote:
> When the driver is initialized in a pure device-tree platform, the
> driver's probe fails allocating the dma channel :
> [ 525.624435] pxa3xx-nand 43100000.nand: no resource defined for data DMA
> [ 525.632088] pxa3xx-nand 43100000.nand: alloc nand resource failed
>
> The reason is that the DMA IO resource is not acquired through platform
> resources but by OF bindings.
>
> Fix this by ensuring that DMA IO resources are only queried in the non
> device-tree case.
>
> Fixes: 8f5ba31aa565 ("mtd: nand: pxa3xx-nand: switch to dmaengine")
> Signed-off-by: Robert Jarzmik <robert.jarzmik@...e.fr>
Applied to l2-mtd.git
Powered by blists - more mailing lists