Skip to content
Commit 535b1fdb authored by Ye Li's avatar Ye Li Committed by Jagan Teki
Browse files

spi: spi-mem: Fix read data size issue



When slave drivers don't set the max_read_size, the spi-mem should directly
use data.nbytes and not limit to any size. But current logic will limit to
the max_write_size.

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Acked-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 0e80dda3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment