On Tue, Jun 30, 2015 at 06:37:07PM +0300, Andrew Gabbasov wrote: > > The caller is supposed to be providing us with aligned memory here. > > However it could be helpful to do this so... > Well, actually the rest of spi code does not rely on having a transfer > buffer > page-aligned. And I don't see any reason to make such an assumption here. > Especially that it is not fulfilled, at least by ubifs code. > Anyway, this fix seems to be useful indeed. The requirement comes more from the underlying DMA code than from SPI itself, SPI mostly doesn't care.
Attachment:
signature.asc
Description: Digital signature