projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: resync with Linux-3.7.1
[oweals/u-boot.git]
/
drivers
/
mtd
/
ubi
/
eba.c
diff --git
a/drivers/mtd/ubi/eba.c
b/drivers/mtd/ubi/eba.c
index d523c94b129df74a30ae32744847540320c83362..d2d3c9c5805d1b21fb5a3c79b183968572ee22e5 100644
(file)
--- a/
drivers/mtd/ubi/eba.c
+++ b/
drivers/mtd/ubi/eba.c
@@
-460,7
+460,7
@@
retry:
if (err == UBI_IO_BITFLIPS) {
scrub = 1;
err = 0;
- } else if (
err == -EBADMSG
) {
+ } else if (
mtd_is_eccerr(err)
) {
if (vol->vol_type == UBI_DYNAMIC_VOLUME)
goto out_unlock;
scrub = 1;