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

Boris Brezillon boris.brezillon at collabora.com
Tue Dec 14 08:29:42 PST 2021


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

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

Nit:

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



More information about the linux-mtd mailing list