[PATCH] spi: spi-mem-nodm: Fix read data size issue
Tom Rini
trini at konsulko.com
Wed Jul 28 19:52:43 CEST 2021
On Wed, Jul 28, 2021 at 11:19:40PM +0530, Pratyush Yadav wrote:
> +Tom, Simon,
>
> On 28/07/21 08:50PM, Bin Meng 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.
>
> With the push towards using DM, do we really need to maintain the nodm
> version anymore? Are there any users left? If there are, I think they
> should migrate to using DM instead of trying to fix depreciated code.
The users here are likely SPL without DM and SPL_DM is not required.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210728/68822ab6/attachment.sig>
More information about the U-Boot
mailing list