[PATCH 12/14] dmaengine: mxs: Add header file to be shared with gpmi nand driver
miquel.raynal at bootlin.com
Mon Jun 3 01:03:16 PDT 2019
On Tue, 2019-05-21 at 07:06:41 UTC, Sascha Hauer wrote:
> The mxs dma driver can do PIO transfers. A pointer to the PIO words
> to transfer is passed in the struct scatterlist * argument of
> dmaengine_prep_slave_sg(). It's quite ugly and non obvious to cast
> u32 * to struct scatterlist * each time when calling
> dmaengine_prep_slave_sg(), so add a static inline wrapper function
> to be called by the user along with a description what is going on.
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Acked-by: Vinod Koul <vkoul at kernel.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
More information about the linux-mtd