pxa3xx_nand: fix memory out of bound
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 11 Sep 2009 11:33:58 +0000 (19:33 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:36 +0000 (09:02 +0800)
commita88bdbb54a9352b916877bfc5e316c44ec1b2d8f
tree504baf6d1b9547446ccc8c686c95499720436832
parent70c7d2dd276dfb6aa802186a2be4efe80d380d15
pxa3xx_nand: fix memory out of bound

When fetch nand data with non-DMA mode, we should align info->data_size to
32bit, not 8bit.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c