[PATCH] spi: spi-mem-nodm: Fix read data size issue

Jagan Teki jagan at amarulasolutions.com
Tue Aug 3 08:22:26 CEST 2021


On Wed, Jul 28, 2021 at 6:20 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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.
>
> This commit mirrors the same changes in the dm version done in
> commit 535b1fdb8e5e ("spi: spi-mem: Fix read data size issue").
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---

Applied to u-boot-spi/master


More information about the U-Boot mailing list