mtd: gpmi: update the bitflip_threshold
commite0dd89c56edc9274c513dbd2ba6dc8229aeeaa44
authorHuang Shijie <b32955@freescale.com>
Tue, 3 Jul 2012 08:24:33 +0000 (3 16:24 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 17 Jul 2012 13:48:09 +0000 (17 14:48 +0100)
tree625ef97e1ba2ef59cf627c71f8cdf55346b74627
parentc50c69402ac24641da38c146796c199387b97f8d
mtd: gpmi: update the bitflip_threshold

The origin code misses to update the bitflip_threshold when
we have already get the right ecc_strength.

The patch fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c