Skip to content
Snippets Groups Projects
Unverified Commit e757996c authored by Chuanhua Han's avatar Chuanhua Han Committed by Mark Brown
Browse files

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: c36ff266 ("spi: Extend the core to ease integration of SPI memory controllers")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarChuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent abf5feef
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment