diff options
author | Chuanhua Han <chuanhua.han@nxp.com> | 2018-08-30 11:43:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-10 20:41:46 +0300 |
commit | e757996cafbeb6b71234a17130674bcd8f44c59e (patch) | |
tree | d60e8692116913a9a4faeb0e776174f60de207d8 /drivers/spi/spi-davinci.c | |
parent | abf5feef3ff0cefade0c76be53b59e55fdd46093 (diff) | |
download | linux-e757996cafbeb6b71234a17130674bcd8f44c59e.tar.xz |
spi: spi-mem: Adjust op len based on message/transfer size limitations
We need that to adjust the len of the 2nd transfer (called data in
spi-mem) if it's too long to fit in a SPI message or SPI transfer.
Fixes: c36ff266dc82 ("spi: Extend the core to ease integration of SPI memory controllers")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-davinci.c')
0 files changed, 0 insertions, 0 deletions