]> 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@intel.com>
Mon, 5 Dec 2011 06:47:55 +0000 (08:47 +0200)
commit96af2c0af1ca31f0fbf1acfc565d971299737a92
tree1892a76383e8aabb38be53059ff93cb72978ccf1
parenta8fde3758b5d1937b5203910852de5393b4a824f
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@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c