[MTD] OneNAND: return ecc error code only when 2-bit ecc occurs
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 5 Jan 2007 10:16:04 +0000 (19:16 +0900)
committerArtem Bityutskiy <dedekind@infradead.org>
Wed, 10 Jan 2007 13:04:28 +0000 (15:04 +0200)
commitb3c9f8bfe7ab366a5d2495ebe5d2dc6fd7368122
treef7bf81deb2acef1ec68458fbbac6ff0c7999e4d0
parenta8de85d557004d6d4e4cf79ecd6b97339b986fe9
[MTD] OneNAND: return ecc error code only when 2-bit ecc occurs

we don't need to return ecc error when 1-bit ecc.
We only return error code when 2-bit ecc error

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c