Re: [u-boot][PATCH] spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum

2020-04-03 Thread Jagan Teki
On Fri, Mar 20, 2020 at 3:05 PM wrote: > > From: Tudor Ambarus > > Commit: 0ebb261a0b2d ("spi: spi-mem: Add SPI_MEM_NO_DATA to the > spi_mem_data_dir enum") > in linux. > > When defining spi_mem_op templates we don't necessarily know the size > that will be passed when the template is actually u

[u-boot][PATCH] spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum

2020-03-20 Thread Tudor.Ambarus
From: Tudor Ambarus Commit: 0ebb261a0b2d ("spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum") in linux. When defining spi_mem_op templates we don't necessarily know the size that will be passed when the template is actually used, and basing the supports_op() check on op->data.nbyt