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@xxxxxxxxxxxxxx> > Acked-by: Vinod Koul <vkoul@xxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/