summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/scan.c
diff options
context:
space:
mode:
authorAndy Lowe <alowe@mvista.com>2007-01-12 18:05:10 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2007-09-23 18:40:49 +0100
commit097f2576eb7dbc8cd5f610847f229f4fea305b80 (patch)
tree809809fbaa7b99d1942ef7583920f17e4f1f1e9d /fs/jffs2/scan.c
parente644f7d6289456657996df4192de76c5d0a9f9c7 (diff)
downloadop-kernel-dev-097f2576eb7dbc8cd5f610847f229f4fea305b80.zip
op-kernel-dev-097f2576eb7dbc8cd5f610847f229f4fea305b80.tar.gz
[MTD] fix CFI point method for discontiguous maps
The CFI probe routine is capable of detecting flash banks consisting of identical chips mapped to physically discontiguous addresses. (One common way this can occur is if a flash bank is populated with chips of less capacity than the hardware was designed to support.) The CFI point() routine currently ignores any such gaps. This patch fixes the CFI point() routine so that it truncates any request that would span a gap. Signed-off-by: Andy Lowe <alowe@mvista.com> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/scan.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud