mtd: introduce mtd_read_oob interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:

committed by
David Woodhouse

szülő
7ae79d7ff1
commit
fd2819bbc9
@@ -278,7 +278,7 @@ again:
|
||||
|
||||
/* Unfortunately, oob read will _always_ succeed,
|
||||
despite card removal..... */
|
||||
ret = mtd->read_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops);
|
||||
ret = mtd_read_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops);
|
||||
|
||||
/* Test for unknown errors */
|
||||
if (ret != 0 && !mtd_is_bitflip_or_eccerr(ret)) {
|
||||
|
Reference in New Issue
Block a user