mtd: atmel_nand: fix pmecc selction for ecc requirement typo
authorJosh Wu <josh.wu@atmel.com>
Wed, 3 Jul 2013 09:56:19 +0000 (17:56 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:03:06 +0000 (21:03 +0100)
commitedc9cba495680a8a4968ed204b5c9f61a991bf4f
treeebe23a32ebbd5d961a4ae6601c9093a20a4909d1
parent68e8078072e802e77134664f11d2ffbfbd2f8fbe
mtd: atmel_nand: fix pmecc selction for ecc requirement typo

Atmel PMECC support 2, 4, 8, 12, 24 bit error correction.
So if the ecc requirement in ONFI is <= 2, 4, 8, 12, 24.
We will use 2, 4, 8, 12, 24.

This patch fix the typo. Use '<=' replace '<'.

Reported-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c