[RFC/PATCH][NOR] Fix cfi_cmdset_0001.c FL_SYNCING race

Anders Grafström grfstrm at users.sourceforge.net
Mon May 5 08:47:23 EDT 2008


Alexander Belyakov wrote:
> +	/* Prevent setting state FL_SYNCING for chip in suspended state. */
> +	if (FL_SYNCING == mode && FL_READY != chip->oldstate)

The operand order differs from the rest of the code.
Apart from that I think it looks ok.

Anders




More information about the linux-mtd mailing list