summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/docg3.h
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2011-12-02 17:07:17 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 22:12:47 +0400
commit3538c56329936c78f7d356889908790006d0124c (patch)
treefdbbe58414a31b2a8101f948ac3022c3e1ecc2c7 /drivers/mtd/devices/docg3.h
parent2f4478ccff7df845dc9c0f8996a96373122c4417 (diff)
downloadlinux-3538c56329936c78f7d356889908790006d0124c.tar.xz
mtd: mtdoops: skip reading initially bad blocks
Use block_isbad to check and skip the bad blocks reading. This will allow to get rid of the read errors if bad blocks are present initially. Cc: stable@kernel.org Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices/docg3.h')
0 files changed, 0 insertions, 0 deletions