commit | 3858d52222147ceb3f963a1869ccb3b627a67ea3 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Wed Jul 10 09:23:51 2019 +0000 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Thu Jul 18 17:11:16 2019 +0530 |
tree | be0fd3f742320707f12fafc611e58f8da21a02b0 | |
parent | ef0e43fc48f02c503262eed800456a523a4f1cea [diff] |
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: Ye Li <ye.li@nxp.com> Acked-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>