Revert "mtd: atmel_nand: optimize read/write buffer functions"
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 2 Feb 2012 11:54:25 +0000 (13:54 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Feb 2012 08:04:57 +0000 (08:04 +0000)
commit500823195d0c9eec2a4637484f30cc93ec633d4a
tree9fa140cfce10567d10f5e7e708f71193ff9ec228
parent1a30871fe635d3e92972e6b93e39ff65bb57e52d
Revert "mtd: atmel_nand: optimize read/write buffer functions"

This reverts commit fb5427508abbd635e877fabdf55795488119c2d6.

The reason is that it breaks 16 bits NAND flash as it was reported by
Nikolaus Voss and confirmed by Eric BĂ©nard.

Nicolas Ferre <nicolas.ferre@atmel.com> alco confirmed:
"After double checking with designers, I must admit that I misunderstood
the way of optimizing accesses to SMC. 16 bit nand is not so common
those days..."

Reported-by: Nikolaus Voss <n.voss@weinmann.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org [3.1+]
drivers/mtd/nand/atmel_nand.c