diff options
author | Bang Li <[email protected]> | 2023-03-29 00:30:12 +0800 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-04-03 17:57:59 +0200 |
commit | 0c3089601f064d80b3838eceb711fcac04bceaad (patch) | |
tree | 06b5851363a1296fa37056f4180fcbb6ac304dc7 /drivers/fpga/fpga-mgr.c | |
parent | ddbb664b6ab8de7dffa388ae0c88cd18616494e5 (diff) |
mtdblock: tolerate corrected bit-flips
mtd_read() may return -EUCLEAN in case of corrected bit-flips.This
particular condition should not be treated like an error.
Signed-off-by: Bang Li <[email protected]>
Fixes: e47f68587b82 ("mtd: check for max_bitflips in mtd_read_oob()")
Cc: <[email protected]> # v3.7
Acked-by: Richard Weinberger <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions