[PATCH v4 2/3] mtd: spi-nor: intel-spi: Convert to SPI MEM

Mika Westerberg mika.westerberg at linux.intel.com
Fri Dec 17 02:38:46 PST 2021


Hi,

On Thu, Dec 16, 2021 at 05:43:47PM +0100, Boris Brezillon wrote:
> Why no just
> 
> 	if (iop->mem_op.addr.nbytes != op->addr.nbytes ||
> 	    iop->mem_op.addr.dtr != op->addr.dtr)
> 		return false;
> 
> then?

That would be too simple ;-)

I'll do this change in v5.



More information about the linux-mtd mailing list