Hi Miquel, On Tue, 6 Nov 2018 17:05:35 +0100 Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote: > Make use of the spi-mem direct mapping API to let advanced controllers > optimize read/write operations when they support direct mapping. > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx> > Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Can we drop/revert this patch until we find out what's going on with Stefan's setup. > +const struct spi_mem_op * > +spinand_find_supported_op(struct spinand_device *spinand, > + const struct spi_mem_op *ops, > + unsigned int nops) > +{ > + unsigned int i; > + > + for (i = 0; i < nops; i++) { > + if (spi_mem_supports_op(spinand->spimem, &ops[i])) > + return &ops[i]; > + } > + > + return NULL; > +} > + Looks like this function is never used. Probably a leftover from early versions of this patch :-/. Regards, Boris ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/