[MTD] [NOR] STAA: use writesize instead off eccsize to represent ECC block
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 29 Jan 2007 10:05:03 +0000 (12:05 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:26:10 +0000 (15:26 +0000)
commit992c9d24c417afce9792da18f8e664c6b9802c5c
tree462bdfd459fc92c2f14cb70be85d06b6ae29e040
parent480b9dfb1fbeb783d4c0061df7868c39af91afec
[MTD] [NOR] STAA: use writesize instead off eccsize to represent ECC block

The cfi_staa_write_buffers() uses mtd->eccsize but means mtd->writesize.
BTW, mtd-eccsize is broken and is not initialized, which means the code
fixed by this patch is broken/unused anyway.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0020.c