[PATCH] mtd: gpmi: fix the bitflips for erased page

Huang Shijie b32955 at freescale.com
Thu Jan 9 20:53:13 EST 2014


On Thu, Jan 09, 2014 at 03:08:08PM -0500, Bill Pringlemeir wrote:
> On  9 Jan 2014, b32955 at freescale.com wrote:
> 
> > ---
> > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 44 ++++++++++++++++++++++++++++++++
> > 1 files changed, 44 insertions(+), 0 deletions(-)
> 
> [snip]
> 
> > +	if (flip_bits < threshold) {
> 
> Isn't it "if (flip_bits <= threshold)"?
thanks. 
I agree the (flip_bits <= threshold) is better.

Huang Shijie




More information about the linux-mtd mailing list