commit | e757996cafbeb6b71234a17130674bcd8f44c59e | [log] [tgz] |
---|---|---|
author | Chuanhua Han <chuanhua.han@nxp.com> | Thu Aug 30 16:43:24 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 10 18:41:46 2018 +0100 |
tree | d60e8692116913a9a4faeb0e776174f60de207d8 | |
parent | abf5feef3ff0cefade0c76be53b59e55fdd46093 [diff] |
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>