Re: [PATCH v5 06/13] spi: spi-mem: Add an ecc_en parameter to the spi_mem_op structure

Boris Brezillon
2021-12-14T16:31:08Z

On Tue, 14 Dec 2021 12:41:33 +0100
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> + if (!caps->ecc) {
> + if (op->ecc_en)
> + return false;
> + }
> +

Nit:

if (op->ecc_en && !caps->ecc)
return false;