Don't panic if a controller driver does ecc its own way.
authorScott Wood <scottwood@freescale.com>
Tue, 18 Mar 2008 20:29:14 +0000 (15:29 -0500)
committerScott Wood <scottwood@freescale.com>
Tue, 12 Aug 2008 16:31:25 +0000 (11:31 -0500)
commit41ef8c716e93fdf50efe9c1ba733ca6675daaca6
tree5bc8c792c197f2dbfb367c8a69228d0f374c9def
parente52b34d40a8a646e3d11638ea8797e96398dba13
Don't panic if a controller driver does ecc its own way.

Some hardware, such as the enhanced local bus controller used on some
mpc83xx chips, does ecc transparently when reading and writing data, rather
than providing a generic calculate/correct mechanism that can be exported to
the nand subsystem.

The subsystem should not BUG() when calculate, correct, or hwctl are
missing, if the methods that call them have been overridden.

Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c