2016-05-13 0:44 GMT+09:00 Mark Brown <broonie@xxxxxxxxxx>: > On Thu, May 12, 2016 at 10:49:15PM +0900, Akinobu Mita wrote: > >> If we have an optional callback to get the actual DMA transfer length >> instead of using spi_transfer->len for each spi_transfer in the >> framework, we can use it to determine the correct map size used by >> spi_map_buf() in spi.c. > > That sounds plausible, we can also do some querying of the dmaengine at > the same place we call that when we get around to that. Can you try to > come up with an implementation? OK, I'll try and see how it looks like. -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html