mtd: omap2 fix prefetch mode read issue
authorVimal Singh <vimal.newwork@gmail.com>
Thu, 7 Jan 2010 06:46:26 +0000 (12:16 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 16:51:23 +0000 (16:51 +0000)
commitc3341d0ceb4de1680572024f50233403c6a8b10d
tree5da52a0fc2f154a45520878f19db1d2deb0ef46c
parentf35b6eda5184e46bf2393d8970b4b9498daf7bcf
mtd: omap2 fix prefetch mode read issue

There is a bug in nand prefetch read routine, which comes into effect
only if nand device is a 16-bit device (as we have in zoom boards).
This bug is effective only with below combination of conditions:
1. nand deivce, in use, is a 16 bit device
2. nand driver supports 'subpage' read
3. SW ECC is in use

This was not seen old  kernel (ex: .23), because when, in early days,
we tested this (nand prefetch read in LDP boards) there was no
'subpage read' support.
Later when we had subpage read in (.27) kernel, we had hw ecc enabled
always in our internal tree. So, we missed this bug.

This patch fixes the issue.

Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/omap2.c
This page took 0.023982 seconds and 5 git commands to generate.