commit | d9f1212272818420fcde611a940c1ad611a8b785 | [log] [tgz] |
---|---|---|
author | Martin Sperl <kernel@martin.sperl.org> | Mon Dec 14 15:20:20 2015 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Feb 09 19:32:07 2016 +0000 |
tree | 0799bc9b7950503331bfbb384fbda85a427b9eeb | |
parent | 523baf5a0609690cb742b3662b7ccac0ea0b2ef2 [diff] |
spi: core: add spi_split_transfers_maxsize Add spi_split_transfers_maxsize method that splits spi_transfers transparently into multiple transfers that are below the given max-size. This makes use of the spi_res framework via spi_replace_transfers to allocate/free the extra transfers as well as reverting back the changes applied while processing the spi_message. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org>