On Fri, Apr 12, 2019 at 12:09:34PM +0100, Mark Brown wrote: > On Fri, Apr 12, 2019 at 12:54:48PM +0200, Lukas Wunner wrote: > > On Fri, Apr 12, 2019 at 10:47:21AM +0100, Mark Brown wrote: > > > I *think* we managed to fix all the architectures to at least stub out > > > the DMA interfaces, it's such a pointless thing to have conditional - > > > it really only makes a difference for build coverage. > > > My point was that the call to spi_split_transfers_maxsize() shouldn't > > be called on non-DMA-capable platforms in the first place (because it's > > DMA-specific). > > It's not a DMA specific problem - there can be SPI controller > limitations on transfer sizes too. The call does pass in ctlr->max_dma_len though, so is clearly motivated by a DMA limitation.