]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: set correct length to FBCR for a non-full-page write
authorLiu Shuo <b35362@freescale.com>
Sun, 4 Dec 2011 04:31:37 +0000 (12:31 +0800)
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Thu, 8 Dec 2011 21:49:57 +0000 (23:49 +0200)
commite7a70f8b10835d27af9f50c792b651b099d79558
tree1892a76383e8aabb38be53059ff93cb72978ccf1
parent9b180acf3d6b398c3328fa28e9be9354af336c2e
mtd: nand: set correct length to FBCR for a non-full-page write

When we do a non-full-page write, the length be set to FBCR should
not be 'elbc_fcm_ctrl->index', it should be 'elbc_fcm_ctrl->index -
elbc_fcm_ctrl->column'.

Signed-off-by: Liu Shuo <b35362@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
drivers/mtd/nand/fsl_elbc_nand.c