Skip to content
Commit 12563f76 authored by Vignesh R's avatar Vignesh R Committed by Jagan Teki
Browse files

spi: spi-mem: Extend spi_mem_adjust_op_size() to honor max xfer size



Extend spi_mem_adjust_op_size() to take spi->max_write_size and
spi->max_read_size into account.

Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
Tested-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: default avatarStefan Roese <sr@denx.de>
Tested-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
parent 6d373e52
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